background image
<< Supported Data Tests | Playing Back Scripts in Netscape Navigator >>
<< Supported Data Tests | Playing Back Scripts in Netscape Navigator >>
Another way to test your Web pages
Testing HTML Applications
13-12
Testing Properties of HTML Elements
Another way to test your Web pages is to use the Object Properties verification point.
Properties describe an HTML element's characteristics, such as its appearance, state,
behavior, and data. The Rational Object Testing technology inspects and verifies all
properties of the HTML elements in your application, including hidden properties
that cannot be tested manually.
For example, you can create an Object Properties verification point to capture and
compare the modification date of a page or to determine whether a check box or a
radio button is selected.
The Object Properties verification point provides you with information about more
than 20 properties for each HTML element. Some properties provide you with the
same information as a data test. For example, a radio button's Value property
provides you with the same information as a Contents data test.
For more information about the Object Properties verification point, see the Robot
Help.
To test an HTML element's properties:
1. Start recording in Robot, as described in Enabling HTML Testing in Robot on page
13-3.
2. Navigate to the Web page that contains the element to test.
3. Click the Object Properties Verification Point button on the GUI Insert
toolbar.
4. 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.