background image
<< HTMLActiveX | Filtered Contents >>
<< HTMLActiveX | Filtered Contents >>

Supported Data Tests for HTML Testing

Testing HTML Applications
14-10
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.
Filtered Contents
Captures the data, removes all white space from the
content, and compares visible text. Important for cross-
browser testing.
HTMLText*
Captures and compares the HTML source.
ComboBox
Contents
Captures and compares the text of all items in the box.
ListBox
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.
Filtered Contents
Captures the data, removes all white space from the
content, and compares visible text of the entire
document, including text in all of the elements in HTML
forms, such as list boxes and combo boxes. Important for
cross-browser testing.
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.