Mapping Objects Automatically

Applies to TestComplete 12.60, last modified on September 17, 2018

By default, TestComplete adds objects to the Name Mapping repository automatically when you –

This behavior is controlled by the Engines > Name Mapping > Map object names automatically option of TestComplete.

If you do not use the Name Mapping repository in your project, you can disable this option to prevent TestComplete from mapping objects.

To enable or disable automatic name mapping
  1. Select Tools > Options from the TestComplete main menu. This will open the Options dialog.

  2. Select the Engines > Name Mapping category.

  3. Select or clear the Map object names automatically check box.

  4. Click OK to save the changes.

Remarks
  • By default, when mapping objects automatically, TestComplete selects the default identification properties for the objects. To control which properties TestComplete should use when mapping objects, you can create name mapping templates. See Name Mapping Templates.

  • TestComplete can store information on the properties and methods of mapped objects to the Name Mapping repository. This way, you will be able to view the properties and methods of mapped objects in test editors even if your tested application is not running. See View Code Completion Information.

  • TestComplete can capture images of mapped objects. This helps you understand to which UI element of your tested application the mapped object corresponds. See Store Images.

See Also

Adding Objects to the Name Mapping Repository
About Name Mapping
Mapping Objects Manually
Mapping Objects From Tests

Highlight search results