Creating verification points in a test
You can create verification points for any object properties, such as label, color, and count, and you can verify that an object property is enabled, that it has focus, whether it is clickable, and so on. You can create verification points while recording a script or afterwards.
Before you begin
About this task
Procedure
To create verification points:
- In Rational® Functional Tester, open the test script and in the Test Contents area, click an action item for which you want to create a verification point.
- Click the insert button and select Verification point for Android, iOS or Web UI, depending on the target application. Alternatively, right-click the selection or click Options and insert in the test editor to select the menu item.
- In the Test Element Details section select a value for the Graphic object and Verify attribute artifacts identified as required for the action selected. Some artifacts are dependent on others, so when you select an attribute, you must select the values required for the options related to the selected attribute. To combine several attributes for the selected object, select the choice all of and select the objects attribute. Click the add attribute line button to add a new attribute. You can click the remove attribute line button to remove an attribute.
-
Optionally select the Retry verification point
until attribute is verified or time out expires and enter
a value for the time out.
The values in the graphic object and attributes lists are different for web UI apps and Android apps.
-
Save the test.
Note: You can add image properties, other properties and values to the step using the drag and drop method from the Mobile and Web UI Data view. For details, see Creating verification points from the Mobile and Web UI Data view.