background image
<< HTMLDocument | How Robot Maps HTML Elements >>
<< HTMLDocument | How Robot Maps HTML Elements >>

To Test the Contents of a List Box

Testing Data in HTML Elements
14-7
9. Click OK.
10. When finished, click the Stop Recording button on the GUI Record toolbar.
Additional Examples
This section provides some additional examples of creating Object Data verification
points for HTML elements.
To Test the Contents of a List Box
1. Add an Object Data verification point.
2. Select the ListBox with the Object Finder tool.
3. Select a Contents data test.
4. Select the Case Sensitive verification method to test for the entire contents of
the list box. Select the Find Sub String Case Sensitive verification method to
test for a subset of the list box items.
To Test for Text within a Table
1. Add an Object Data verification point.
2. Select the HTMLTable object with the Object Finder tool.
3. Select a Contents data test or, if you are planning to do cross-browser testing, a
Filtered Contents data test.
4. Select the Case Sensitive verification method to test for all of the text in the
table. Select the Find Sub String Case Sensitive verification method to test for
any text item with the table.
You can edit the text that the verification point captures. For information, see
Editing Data for a Clipboard or Object Data Verification Point on page 4-21.
To Test the Destination of a Link
1. Add an Object Data verification point.
2. With the Object Finder tool, select HTMLLink to test a text-based link.
3. Select a Contents data test to capture the URL of the destination.
4. Select the Case Sensitive verification method to test for the entire URL. Select
the Find Sub String Case Sensitive verification method to test for part of the
URL.