background image
<< Filtered Contents | Netscape Navigator >>
<< Filtered Contents | Netscape Navigator >>

Testing Properties of HTML Elements

Testing HTML Applications
14-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 many
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 Using the Start Browser Toolbar Button on
page 14-4.
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.