Select Object Dialog (for Operation Parameters)

Applies to TestComplete 15.70, last modified on December 17, 2024

The Select Object dialog is used to specify an object that will be used as a parameter of a keyword test operation.

It is displayed when you do any of the following:

Select Object dialog

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

Note for mobile testing: To specify 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.

Tips on 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 automatically maps the specified object to a custom name (if it does not have one yet) and displays this name in the Object box. Otherwise, TestComplete uses the default object name.

For web objects: If cross-platform web testing is enabled in the project, TestComplete will use the FindElement syntax to form the name. It will not map the object regardless of the setting because name mapping is not supported in cross-platform testing.

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

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

See Also

Operation Reference
Selecting Objects for Keyword Test Operations
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