background image
<< Importing a Session | Viewing Session Properties >>
<< Importing a Session | Viewing Session Properties >>

Regenerating Scripts from a Session

Working with Sessions
7-19
3. Type in the export path or click Browse to select the export path.
4. Click OK.
Robot exports four session file types: watch files (.wch), XML files (.xml),
annotation files (.ids), and extension files (.ext). File sets are exported, so any files
specified for export with any of these four extensions that have the same name are
exported. To export only one file, either rename the file or move it to another
directory.
Regenerating Scripts from a Session
You might want to regenerate a session's scripts for a variety of reasons--for
example, to overwrite edits you made to the original scripts (restoring the scripts to
the original recorded transactions), or to change the script generation options.
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