Adding objects to a test object map

When you add an object to a test object map, you can choose to add just the selected object, include the children of the immediate parent, or include all the visible controls in the current window.


  1. From the test object map menu, click Applications > Run to open the Select an Application dialog box.
  2. In the Application Name field, select the application that contains the controls you want to test and click OK.
  3. In the Test Object Map toolbar, click the Test Object: Insert Object(s) button Test Object: Insert Object(s). HCL OneTest™ UI opens the Insert a GUI Object into the Object Map dialog box.
  4. On the Select an Object page, click the Object Finder icon Object Finder and drag it into the application over the object you want to add to the test object map. For other methods of selecting objects, see Select an Object.
  5. On the Select Object Options page , select one of the following options:
    • Just the selected object -- Select to include only the control you selected in the test object map.
    • Include the siblings of the selected object -- Select to include children of the immediate parent.
    • Include all available objects on this window -- Select to include in the test object map all the visible controls in the current window.
  6. Click Finish. If necessary, repeat the procedure to include other controls.
  7. Click the Save File: Save button to save the test object map.