background image
<< about the Robot Java Open API | Trackbar appears in the TestTip >>
<< about the Robot Java Open API | Trackbar appears in the TestTip >>
Rational Object Testing technology
Testing Properties of Java Components
14-15
Testing Properties of Java Components
You can use the Object Properties verification point to test the properties of Java
components.
Properties describe a component's characteristics such as its appearance, state,
behavior, and data. The Rational Object Testing technology inspects and verifies all
properties of the components in your application, including hidden properties that
cannot be tested manually.
To test the properties of Java components:
1. Start recording in Robot. For details, see Recording a New GUI Script on page
2-15.
2. Navigate to the page that contains the component you want to test.
3. Start creating the Object Properties verification point as usual. (For instructions,
see Object Properties verification point in the Robot Help Index.)
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.
JavaSplitPane
Contents
Captures and displays the current scroll value for the
pane.
JavaTable
Contents
Captures and displays each cell in the table.
JavaTableHeader
Contents
Displays each column header in the table.
JavaPanel
JavaWindow
Contents
Captures and displays the data-sensitive objects in the
object and its children. A data-sensitive object is a
child or nested child of a selected object that contains
dynamically-generated data. Examples include
EditBoxes, CheckBoxes, and RadioButtons, but not
PushButtons.
JavaMenu
JavaPopupMenu
Contents
Captures and displays the menu header and items for
each menu.
Java Active State
Captures and displays the currently selected menu item.
Menu Test
Captures and displays the menu header and items for
each menu, along with accelerator keys and mnemonic
specifiers.
(Continued)
Robot object type
Supported data test
Description of data test