Specifying the playback options for a simplified script

You can set the wait time for a control to be displayed or pause an execution of a test line for a simplified script.

Before you begin

The test application might take some time to load or refresh the controls during script playback. This might result in an exception or playback failure. You can set the options to wait for a control or pause an execution of a test line.

Procedure

To wait for the control to be displayed in the test application during playback:
  1. Select the test line in the script editor.
    The Properties view displays the details of the selected test line.
  2. Click the Playback tab in the Properties view. Type the time in seconds in Wait for the control to be displayed.
  3. Click File > Save to save the changes.
    During script playback, the action on the control that the test line refers to is performed only after waiting for the control to be displayed in the test application for the specified time.

Pausing an execution of a test line

About this task

You can pause or delay running a test line during script playback. You can set this option for delaying the run of the test line so that the application is started or wait for the application to populate the data in the control.

Procedure

  1. Select the test line in the script editor.
    The Properties view displays the details of the selected test line.
  2. Click the Playback tab in the Properties view. Type the time in seconds in the Pause execution for field.
  3. Click File > Save to save the changes.
    During script playback, running the test line is delayed for the specified time.