You can add data verification points into simplified scripts
by using an application visual instead of opening the test application
again or by using the verification point editor.
Prerequisite: To use application visuals for inserting
data verification points into the script, the capturing of verification
on data feature must be enabled in the Preferences page
before recording the script.
- 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 in the Application
view.
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 on which the data verification point must be captured.
The control is highlighted in red.
- Right-click and select .
The verification point wizard is displayed
if you have enabled the Show Verification Point Dialog option
in the Preferences page. Set the data verification
point properties in the verification point wizard:
- On the Verification Point Wizard page,
accept the default Data Value or select one
of the available options from the list.
- Change the Verification Point Name,
if required, and click Next.
- On the Verification Point Data page,
edit the data if required.
- Optional: To use a dataset reference instead
of a literal value for a data verification point:
- Right-click a property, and then click Convert Value
to dataset Reference. The dataset Reference
Converter dialog opens.
- Type a new name for the dataset variable or select the variable
from the dataset Variable list for the verification
point to reference in the dataset.
- Select Add value to new record in dataset to
add the value of the verification point to a new record (row) in the
dataset.
- Click OK, and close the text box.
- Click Finish.
The verification point 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.
- Click to save the modified test script.