Pick Object Dialog

Applies to TestComplete 14.40, last modified on April 22, 2021

You use the Pick Object dialog to select an object on screen using the target glyph or the Point and fix tool.

TestComplete displays the dialog when you start recording a low-level procedure in window coordinates or when you click Pick Object in the Add Comment to Test dialog.

Pick Object dialog

Note for mobile testing: To select an object 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 in one of the following ways:

Tips for selecting objects:

  • You may find the second technique more convenient than using the target icon, because you can manipulate applications before actually selecting an object. For example, you can open the tested application window containing the desired control and so on. Unlike using the target icon, with this technique, you can point to popup windows, tooltips, and other objects that are hidden in the application 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 setting is enabled, TestComplete will automatically map the specified object to a custom name (if it does not have one yet) and display this name in the Object box. Otherwise, TestComplete will use the default object name.

To use the specified object’s name and continue the operation you performed, click OK. To close the dialog without performing any actions, press Cancel.

See Also

Add Comment to Test Dialog
About Name Mapping
About Mobile Screen Window
Testing Mobile Applications

Highlight search results