background image
<< Testing Data in Java Components | Testing the Contents of a Java Panel >>
<< Testing Data in Java Components | Testing the Contents of a Java Panel >>

JavaActiveState data test

Testing Data in Java Components
15-11
5. Assign a name, wait state, and expected result for the verification point and then
click OK, as described in Tasks Associated with Creating a Verification Point on page
4-6.
6. In the Select Object dialog box, drag the Object Finder tool over the page until
the component you want to test appears in the TestTip, as described in Selecting
and Identifying the Object to Test
on page 4-10.
For example, to test that a particular item in a ComboBox is selected, drag the
Object Finder tool over the page until ComboBox appears in the TestTip.
7. Release the mouse button.
8. If the dialog box is still open, click OK.
9. If the Object Data Tests dialog box appears, select the data test to use and
click OK.
For example, to test that a particular element in a ComboBox is selected, select
the JavaActiveState data test. To test all of the elements in a ComboBox, select
the Contents data test.
10. Complete the verification point as usual.
ComboBox
Object Finder tool
TestTip