Add Object Wizard - Select Object Page

Applies to TestComplete 15.42, last modified on September 08, 2022

On this page of the Add Object wizard, you can specify the window, control or object whose data you want to store in the Stores | Objects collection of your project. You can use the stored data in your tests as a baseline data when verifying the actual object in the application.

Note for mobile testing: To store object data in a mobile application, 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 in order for TestComplete to be able to access the application’s objects.

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

Tips for selecting objects:

  • 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 select a non-onscreen object, such as a process, enter the object name manually.

  • Instead of selecting the object, you can copy its name from the Object Browser, Object Spy, keyword test, or script code beforehand and paste it into the Object box.

  • Despite the way you specify the object name, you can change or correct it directly in the Object box.

If the Map object names automatically option is selected, TestComplete automatically adds the specified object to the Name Mapping repository (if it is not there already). Your tests will take the object alias from the repository.

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.

After you have selected the object, click Next to proceed.

See Also

Add Object Wizard
About Objects Collection
Name Mapping
Mobile Screen Window
Selecting an Object on the Mobile Screen (Android Testing)
Select an Object on the Mobile Screen (iOS Testing)
Preparing Android Applications (Legacy)
Preparing iOS Applications (Legacy)
Testing Mobile Applications

Highlight search results