|
Creating or Editing a Custom Data Test
1. Click Tools ?Object Data Test Definition.
2. Click Select to open the Select Object dialog box.
3. Select the object for which you want to create the data test in one of the following ways:
- Drag the Object Finder tool over the object and release the mouse button.
- Click Browse and select the object from the Object List. The Object List includes all of the objects on the Windows desktop.
4. If the Select Object dialog box is still open, click OK to close it.
The object classification of the selected object and its data tests appear in the Object Data Test Definition dialog box.
5. Do one of the following to display the Create/Edit Object Data Test dialog box:
- To create a new data test, type a name (50 characters maximum) in the Data test name box and click New.
- To edit a custom data test, select the test from the list and click Edit.
6. In the Create/Edit Object Data Test dialog box, select a property from the Property to test list. This property is the one whose values you want to capture in the data test.
7. Select the Column check box to add parameters for the vertical axis. Select the Row check box to add parameters for the horizontal axis.
8. Type an expression in the From and To boxes, or click the Expression button to the right of each box to build the expression.
An expression is a single value or property, or a combination of values, properties, and operators.
If you click the Expression button, the Edit Expression dialog box appears. For information about how to build an expression, click .
9. In the Using box, type a property or select it from the list to further define the property that you are capturing and testing.
The Using box specifies what property Robot will modify to affect its iteration. For example, to iterate from row 0 to row Row-1, Robot sets the Row property.
10. Select the check boxes under Additional parameters as needed.
11. In the Description box, type a description that indicates what the data test does.
12. Optionally, click Test to do the following:
- Verify the syntax of the data test before you save it.
- If the syntax is correct, watch Robot perform the data test on the selected object.
When the test has ended, Robot opens a dialog box with the captured data. Click OK to close the dialog box.
13. Click OK to save the test and automatically verify it.
If the syntax of the expression is incorrect, the incorrect area is highlighted so you can correct it and then resave the test. |
|