Test object inspector

You use the Test Object Inspector to view properties of selected test objects visible in the running application and display information about those objects, such as parent hierarchy, inheritance hierarchy, test object properties, nonvalue properties, and method information.

The Test Object Inspector displays information for the test object under the cursor.

Test object inspector menu

The test object map menu has the following options:

File Menu Options:

Exit -- Closes the Test Object Inspector window.

Option Menu Options:

Hide not mappable -- Parent test object nodes that do not appear in the object map are not included.

Hexadecimal -- Displays in hexadecimal Long, Integer, Short, and Byte number properties in the properties page.

Show rectangles -- In the Parent Hierarchy view, displays screen coordinates for the test object. This option is not enabled as a default, because it may slightly slow display time.

Show domains -- List the domain name for each test object.

Show Standard Properties Only -- Displays only standard properties, which provide a common way to access properties and their values across platforms.

Always On Top -- When selected, the Test Object Inspector window is always the topmost window on the screen.

Show Interfaces -- Display interfaces implemented by the classes in the Inheritance hierarchy.

Show Full Names -- Show full class names. For example, show "java.awt.Button" rather than "Button".

Show Menu Options:

Show Parent Hierarchy -- Displays the directed list of parents as in the test object map. Parent test object nodes that will not appear in the object map are labeled Not Mapped.

Inheritance Hierarchy -- Displays the class inheritance hierarchy for the selected test object, including any interfaces supported at each level of the hierarchy.

Show Properties -- Displays the object properties that appear in an object properties verification point associated with the selected test object.

Show Nonvalue Properties -- Displays a set of complex properties such as buttons and check boxes, which are not treated as values in the script. You can access these properties indirectly.

Show Method Information -- Displays the visible methods for the selected test object. These are the methods and necessary information to use the methods using the method available for every test object.

Applications Menu Options:

Run -- Opens the Start Application dialog box, which enables you to start a specific application and add test objects to the test object map.

The Applications Menu also lists all the applications that have been configured.

Help Menu Options:

Help -- Displays online Help for the Test Object Inspector.

Test Object Inspector Toolbar

The Test Object Inspector toolbar has the following buttons:

Show Parent Hierarchy button Show Parent Hierarchy -- Displays the directed list of parents as in the test object map. Parent test object nodes that do not appear in the object map are labeled Not Mapped.

Show Inheritance Hierarchy button Show Inheritance Hierarchy -- Displays the class inheritance hierarchy for the selected test object, including any interfaces supported at each level of the hierarchy.

how Test Object Value Properties button Show Test Object Value Properties -- Displays the object properties that appear in an object properties verification point associated with the selected test object.

Show Test Object Nonvalue Properties button Show Test Object Nonvalue Properties -- Displays a set of complex properties such as buttons and check boxes, which are not treated as values in the script. You can access these properties indirectly.

Show Method Information button Show Method Information -- Displays the visible methods for the selected test object. These are the methods and necessary information to use the methods using the method available for every test object.

Pause button Pause -- Temporarily suspends the tool.

Resume button Resume -- Enables you select another object in the application.

To open: For HCL OneTest UI, Eclipse Integration, from the product menu, click Run > Test Object Inspector. For HCL OneTest UI, Microsoft Visual Studio .NET Integration, from the Functional Test menu, click Tools > Test Object Inspector. From the toolbar, click the Open Test Object Inspector button Open Test Objector Inspector button.

  • For an enabled Java™ or already-infested application, Test Object Inspector tracks the cursor and performs live updates immediately after you open the application.
  • If the application is not active, Test Object Inspector does not capture objects in the application. You must pause on the application to force the infestation before Test Object Inspector can track the cursor and perform live updates against that application. To pause on the application, hover the mouse over the object in the application, and press Shift. Test Object Inspector captures the object.
  • When you press Shift to select the test object, Test Object Inspector copies the information displayed in the Test Object Inspector window to the system Clipboard.
Feedback