background image
<< Importing a Session | Viewing Session Properties >>
<< Importing a Session | Viewing Session Properties >>
Display returned data value
Working with Sessions
7-19
When you regenerate scripts from a session, the regenerated scripts inherit the
properties of the original scripts.
At any time, you can regenerate a session's scripts from the session file. To do so:
1. In Robot, click Tools > Regenerate Test Scripts from Session.
2. Click the name of the session to use.
You can regenerate scripts that are contained within a session but not those that
have been deleted from the session. To see the scripts in a session, click the
session name, click Properties, and then click Contained Scripts. Click OK.
The Generating Scripts dialog box appears. This dialog box shows how script
regeneration is progressing. After a few seconds (or longer, depending on the
length of the session), regeneration ends, the message Completed successfully
appears, and the OK button is enabled.
3. Click OK to acknowledge that the regeneration operation is complete.
Changing Recording Options
When you regenerate a session's scripts, you can change many of the recording
options that were set when the script was recorded. You can change the options in
the following Session Record Options tabs:
þ
Generator
þ
Generator Filtering
þ
Generator per Protocol
For example, you can:
þ
Select Use datapools to add datapool commands to the script, even if the
original script had no datapool commands generated for it. (Conversely, clear
this check box to have no datapool commands included in the new script.)
þ
Select a different Display returned data value than the one used in the
original script.
þ
Set different playback expectations than those used in the original script.
When you regenerate scripts, you cannot add client/server requests to those that you
originally recorded. However, you can remove some recorded requests through
protocol filtering.
NOTE: Script names resulting from regeneration are set at recording. When you
regenerate a session's scripts, you overwrite all of the previously generated scripts
in the session.