When you playback a script, it performs each of the actions that you have recorded or scripted.
Open the script.
Choose
Actions > Playback or click
Playback on the toolbar.
The
Playback dialog box opens.
Optional: Type a description for the test result into the
Result description field.
From the
Result options list, select how you want to save the results of this test.
Select one of the following options:
Save results with a new run number
Results from the playback of a visual test or script are saved with a new incremental run number. For example, a new result
is saved with a run number of 1. Subsequent results for the same visual test or script are saved with run numbers of 2, 3,
4, and so on. This is the default selection.
Append results to current run number
Results from the current playback are appended to the results of the most recent existing run number. A new run number is
not created. This option only appears with an existing result.
Overwrite existing run number with new results
Results from the current playback overwrite the results of the latest existing run number. A new run number is not created.
This option only appears with an existing result.
Do not save this result
A result is not created when playing back a visual test or script.
Optional: Click
Options to change the result options.
For additional information, see
Setting Playback Result Options
Optional: Check the
Show Local Variables window check box to display the
Local Variables window during playback.
Silk Test Workbench hides the
Local Variables window when the playback is finished.
Click
OK.
If you are testing a web application, the
Select Browser dialog box opens. Select the browser and click
Run.
Optional:To stop playback, click
Actions > Stop, click
Stop on the toolbar, or press both
Shift keys. To pause playback at the current step, click
Actions > Pause, click
Pause on the toolbar, or press
Alt+F11.
Note: If an error occurs during playback, an error message appears.
Once playback completes, use the
Playback Complete dialog box to determine the action to take.
Note: If an error occurs during playback, an error message appears.
Hide the
Playback dialog box during the playback process by checking the
Do not show this dialog again check box. This overrides the
Show Playback dialog option setting in General Options. Use that setting to show the
Playback dialog box.