background image
<< Setting Log Options for Playback | The Error Recovery tab >>
<< Setting Log Options for Playback | The Error Recovery tab >>
Setting Wait State and Delay Options
Playing Back GUI Scripts
4. To have the log appear automatically after playback is complete, select View log
after playback.
If you clear this, you can still view the log after playback by clicking Tools >
Rational Test >
TestManager, and then opening the log.
5. To have Robot prompt you before it overwrites a log, select Prompt before
overwrite log.
6. Click one of the following:
Specify log information at playback н At playback, displays the Specify Log
Information dialog box so that you can specify the build, log folder, and log.
Use default log information н At playback, uses the same build and log folder
that was used during the last playback. Uses the script name as the log name.
7. Click OK or change other options.
Setting Wait State and Delay Options
In most cases, it is important for the playback of a GUI script to be synchronized
with the application-under-test, so that Robot executes commands in the script
only after the application is ready to receive them. Robot attempts to maintain this
synchronization automatically for you using several techniques.
You can refine the synchronization by setting the following options in the GUI
Playback Options dialog box:
Wait states for windows
Delays between commands
Delays between keystrokes
These options are described in the following sections.
NOTE: If a script needs to wait before executing a particular command, you can
insert a delay for just that command. (For information, see Inserting Delay Values
on page 3-12.) If you are testing an application in which time estimates are not
predictable, you can define a wait state for a verification point so that playback
waits based on specific conditions rather than on absolute time. (For information,
see Setting a Wait State for a Verification Point on page 4-8.)