Pick Object Dialog

Applies to TestComplete 15.69, last modified on November 13, 2024

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:

  • 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 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
Name Mapping
Mobile Screen Window
Testing Mobile Applications

Highlight search results