When you play back a visual test, it performs each of the actions that you recorded or added.
Perform one of the following steps:
In the
Assets section of the
Start Screen, click
Playback Visual test 'Project name -
Test name' for the appropriate visual test in the
Recent list.
In the
Asset Browser, right-click the appropriate visual test and click
Playback.
From the
Visual Navigator, choose
Actions > Playback to play back the active visual test.
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.
Note: If multiple applications are configured for the current
script, the
Select Browser dialog box is not displayed.
Optional: If necessary, you can click
Actions > Stop, click
Stop on the toolbar, or press both
Shift keys to stop playback. Click
Actions > Pause or click
Pause on the toolbar to pause playback at the current step.
As the visual test plays back, you can see each action executed against the test application, such as menu, radio button, and check box selections.
If the visual test contains passed in variables without assigned values, the
Passed in Variables dialog box opens, where you can assign values to these variables.
If an error occurs during playback, the
Playback Error
dialog box opens.
Once playback completes, use the
Playback Complete dialog box to determine the action to take.
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.