On this page of the Checkpoint wizard, you can specify the window, control, or object whose properties, tabular data, or text contents you want to verify.
Note for mobile testing: To verify an object in a mobile application, you can specify the object by selecting it on the Mobile Screen. Make sure that the Mobile Screen window is not hidden when you call the checkpoint wizard. Also note that the mobile 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 objects.
Connecting to Mobile Device Clouds and Opening Testing Sessions
Preparing for Android Testing (Legacy Mobile Support)
You can specify the object in one of the following ways:
-
Pick the object with the target icon ()
Watch video: Selecting Objects: 'Drag the Target...' Mode
-
Select the object and press a shortcut ()
Watch video: Selecting Objects: 'Point and Fix' Mode
-
Enter the object name manually
Enter the full name (or full mapped name, or alias) of the desired object into the Object box.
For web objects: If your project is configured to use XPath expressions and CSS selectors to locate web objects, the dialog will show the list of available locators (if any) for the specified web object. You can select the needed locator from the drop-down list.
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.
To proceed with the checkpoint creation, click Next.
Selecting Table Area (Table Checkpoints)
Selecting Data Range (Table Checkpoints)
Selecting Data to Check (OCR Checkpoints)
See Also
Checkpoint Wizard
About Checkpoints
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