Inserting data-driven commands into a script by using an application visual
You can add data-driven commands to the script by using an application visual.
Before you begin
Procedure
- Select the test line in the script editor that refers to
the required application visual of the test application.The application visual that contains the control is displayed.Note: The thumbnail pane in the Application view displays images of all the application visuals that are captured for the project. You can select the required application visual image in the thumbnail pane and view the application visual in the Application view.
- In the Application view, move the mouse pointer over the
control to use for the data-driven command. By default, the control is highlighted in red.
- Right-click and select Insert Data Driven Command.
The data driven command for the control is inserted into the test script. You can drag the test line in the script editor to arrange the test lines in the required sequence for playback.
- In the Test dataset view, add the data for the control.
- Click to save the modified test script.During script playback, the data for the control is retrieved from the dataset.