Select an Object dialog box
About this task
When you select an object, HCL OneTest™ UI lists its recognition properties in the grid at the bottom of the Select an Object page.
If you select the wrong object, or decide to add a different one, use any of the methods to select a different object. Once you click the Finish button, the object that is listed in the grid is the one that you will be adding.
The following three selection methods are available:
Object Finder
Tool
About this task
This is the most common and direct method of selecting an object:
Procedure
Object Browser
About this task
Use the Object Browser method to browse for the object you want to add to the test object map. The browser displays a hierarchical tree of objects in your application. The top level shows any applications you have running. Under each top level, HCL OneTest UI displays the object hierarchy within that application.
Procedure
Delay Method
About this task
Use the Delay method to select pop-up objects, such as menus. This method uses the Object Finder tool, but enables you to set a delay, which gives you time to get to an object that requires clicking on other objects first.
Procedure
Results
Object Recognition Properties Grid
When you select an object using any of the above methods, its Recognition properties are listed in the grid at the bottom of the tab. The Recognition properties are determined by the object's proxy. For example, a button object has three recognition properties: label, .class, and .classIndex. The grid lists the name and value of your specific object's recognition properties. You can use that information to confirm that you selected the correct object.
To
open: From the product toolbar, click the Insert Test
Object into Active Functional Test script button
. You can also right-click the Test Objects folder
in the Script Explorer and select Insert Test Object.
and drag it over the object in your application
that you want to select.