background image
<< Changing a Data Test Definition | copied the All Data test >>
<< Changing a Data Test Definition | copied the All Data test >>
Editing a Custom Data Test
Creating or Editing a Custom Data Test
A-5
Creating or Editing a Custom Data Test
Data tests must be created before you begin to test your application. The tests that
you create are stored in the repository that is currently active when you create the
tests. If you switch to a different repository, the data tests will not be available unless
you recreate the data test in the new repository.
You can edit any custom data test. If you change the parameters of an existing data
test, it affects the behavior of all verification points that depend on the data test.
To create or edit a custom data test:
1. Display the object for which you want to create the data test.
2. In Robot, click Tools > Object Data Test Definition.
3. Click Select to open the Select Object dialog box.
4. 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.
As you move the Object Finder tool over an object, the object type appears
in the yellow TestTip.
Click Browse to open the Object List dialog box, select the object from the
list, and click OK.
The Object List dialog box shows a hierarchical list of all objects on the
Windows desktop, including hidden objects.
5. 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.
If the object is Unknown (not defined), the Define Object dialog box appears.
Select an object type and click OK to open the Object Data Test Definition
dialog box. (For information about defining an object, see Defining Unknown
Objects During Recording
on page 2-20.)
6. Do one of the following to display the Create/Edit Object Data Test dialog box:
To create a new test, type a name (50 characters maximum) in the Data test
name box and click New.
To edit a custom test, select the test from the list and click Edit.
To copy a test and edit the copy, select the test and click Copy. Type the new
name and click OK. Then, click Edit.