Map Object Dialog

Applies to TestComplete 15.47, last modified on January 20, 2023

In the Map Object dialog, you select the object you want to add to the Name Mapping repository. The dialog appears when you do any of the following:

  • Click Map Object From Screen on the Tools toolbar.

  • Click Add Object on the Name Mapping repository toolbar.

  • Click Map New Object on the first page of the wizard that appears when you add a keyword test operation that works with objects and controls to your keyword test.

Map Object dialog

You can specify the object to map in one of the following ways:

Note for mobile testing: Select the object on the Mobile Screen (make sure the Mobile Screen window is not hidden before selecting the object). Also note that the application under test and the mobile device, where the application is running, must be prepared for testing for TestComplete to be able to access the application’s objects.

Tip:

Using the second approach may be more convenient if you need to manipulate the application before selecting an object. For example, you can open and point to popup windows, tooltips, and other objects that are hidden when being inactive.

To make sure you have selected the correct object, click Highlight. TestComplete will highlight the appropriate object on the desktop screen or in the Mobile Screen window.

To map the selected object, click OK. To close the dialog without creating a name mapping item, press Cancel.

When you click OK, TestComplete will do the following:

  1. If the project does not have the Name Mapping project item, TestComplete will prompt you to add it.

  2. Depending on the Name Mapping mode and your tested application, TestComplete will either map all the object’s parent objects automatically, or prompt you to map them, either automatically or manually.

See Also

Name Mapping
Mapping Objects Manually

Highlight search results