You can create verification points to test application objects.
Verification points are used to verify that the property values is as expected.
When you create a verification point, you are capturing information about
an object in the application to establish this as baseline information for
comparison during playback.
To create a verification point:
- On the Recording Monitor toolbar, click the Verification
Point and Action Wizard
icon to perform a test on a
window when recording a script.
- Select the object that you want to test by dragging the Object
Finder
icon
over the part of the host terminal window to test. A thick
red line outlines the object that is selected for testing.
- Click Next. The Select an Action window
opens.
- Select an action:
- Perform Data Verification Point: Tests the
data that the object contains. It tests the text in the field.
- Perform Properties Verification Point: Tests
one or more properties of the object such as whether a field is protected.
- Get a Specific Property Value: Assigns the
value of a specific property of an object to a variable in the test script.
- Wait for Selected Test Object: Causes execution
of the test script to wait until the object exists before continuing.
- Click Next. Follow the dialog box and provide
values or accept the default values. Depending on the action you select,
you might have to complete more than one panel before the final window.
- Click Finish to close the dialog and return
to recording a script.