Add Image Wizard - Capture Image Page

Applies to TestComplete 15.45, last modified on December 01, 2022

On this page of the Add Image wizard, you can select the object or its area whose image you want to capture.

Note for mobile testing: To capture an image of the object or object’s area 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 image to capture 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.

  • 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.

The captured image is displayed in the Preview area. To highlight the appropriate object on the screen, click Highlight.

Click Finish to exit the wizard and save the created image to the project’s Stores > Regions collection. The image name is automatically generated by TestComplete based on the object name. The image format is specified by the Images property of your test project.

See Also

Add Image Wizard
About Regions Collection
Name Mapping
Testing Mobile Applications
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)

Highlight search results