User: Developer
Version: 5.3.0 +
Prerequisites
- Futurama-HTML/Web
Introduction
Explains the usage of the ScenarioRecorder
Description
The Scenario Recorder is a new feature for Futurama-HTML from version 5.3 where the actions that a user executes on a Futurama document can be recorded as well as the response that is returned to the user. This scenario can then be used by Futurama developers to reproduce the steps that this user has performed, and how the document was changed because of it.
Configuration
The scenario recorder can be activated within the web.config file of the Futurama web application. Below is an example of a section of web.config where the scenariorecorder has been activated to write to the directory "C:\temp\scenarios".
The additional attribute "includeHtmlOutput" causes the recorder to save the HTML that is generated within Futurama.
Recording
From the moment this feature has been enabled within the configuration file, a scenario file will be generated for every session that users will instantiate. So when a user logs in, a file will be created with the following filename: "C:\temp\scenarios\{foldername}-{sessionid}.scenario".
- Here the {foldername} will be the folder in which the accessed Futurama application is present.
- The sessionID represents a unique code that can be seen embedded within the users browser-url.
Whenever a user performs a new step within that same session, a new step will be added to the scenario file.
This scenario file is all that is needed by the Futurama development team in order to re-enact the steps a user has performed.
File format
If a scenariofile is opened, the following structure will be found:
<!--?xml version="1.0" encoding="utf-8"?-->
<scenario xmlns="http://www.ActuIT.nl/Futurama/TestScenario/2014/10/" dateRecorded="13-8-2015 14:54:22" rootPath="C:\inetpub\wwwroot\CurrentFuturama">
<step>
<name>step 1</name>
<request>...</request>
<response>...</response>
</step>
<step>
<name>step 2</name>
<request>...</request>
<response>...</response>
</step>
...
</scenario>
Feedback
If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.