background image
<< Robot object type | Another way to test your Web pages >>
<< Robot object type | Another way to test your Web pages >>
Supported Data Tests
Supported Data Tests for HTML Testing
13-11
Supported Data Tests for HTML Testing
The following table describes the data tests that are available for each Robot object
type supported in the HTML environment. For information about creating your
own data tests, see Appendix A, Working with Data Tests.
Robot object type
Supported data test
Description of data test
PushButton
CheckBox
RadioButton
EditBox
Contents
Captures and compares visible text.
HTMLText
Captures and compares the HTML source.
ComboBox
ListBox
Contents
Captures and compares the text of all items in the box.
ItemData
Captures and compares the value attribute in the HTML
source.
HTMLText
Captures and compares the HTML source.
HTMLLink
Contents
Captures and compares the "href" of the anchor -- that
is, the URL of the destination.
HTMLText
Captures and compares the HTML source.
HTMLImage
HTMLText
Captures and compares the HTML source of the image.
HTMLDocument
Contents
Captures and compares the visible text of the entire
document, including text in all of the elements in HTML
forms, such as list boxes and combo boxes.
HTMLText
Captures and compares the HTML source of the entire
document.
Document URL
Captures the URL of the document.
Document Title
Captures the title of the document.
HTMLTable
Contents
Captures and compares the visible text of the entire table.
HTMLText
Captures and compares the HTML source of the table.
HTMLActiveX
None