This functionality is supported only if you are using the Classic Agent.
Record verification statements to verify the properties of an object.
Complete the steps in
Verifying a Test Case.
Click the
Properties tab and then choose the objects to verify. To verify all or most objects, click
Check All and then uncheck individual check boxes.
Choose the properties to verify in one of the following ways:
Click
OK to close the
Verify Window dialog box.
If you are writing a complete test case, record the cleanup stage and paste the test case into the script. If you have added a verification statement to an existing test case, paste it into your script and close the
Record Actions dialog box.
Here are some points to note about the
Property tab:
The
Windows to Verify list box (left) displays the class and the identifier of all the objects whose properties have been captured. Indentation denotes the hierarchy. A checked check box (left margin) means that the object will be verified. By default, all objects are checked and the first object is selected.
The
Properties to Verify list box (right) displays each property of the selected object and its current value. A checked check box (left margin) means that the property will be verified. By default, the properties of the selected property set (shown in the
Property Set list box) are checked.
The
Property Value field displays the value of the selected property. You can edit the value in this field if it is not what you want to verify against. The value specified in this field is the value you expect at runtime, that is, the baseline value.