Locating a test object in the application
You can select an object in the test object map or the Script Explorer and have Functional Tester highlight the object in the application-under-test.
To locate objects in the application:
Procedure
- Start the application. Verify that the page that contains the object is visible.
- To highlight the object:
- In the test object map, select the object to locate and either click the Highlight: Test Object button in the test object map toolbar or click Test Object > Highlight in the test object map menu.
- In the Script Explorer, right-click the object to locate and click Highlight.
Functional Tester highlights in the application the object you selected. If Functional Tester finds more than one instance of the test object, you can display neither or the top two candidates.
If Functional Tester cannot find the object, it displays an error message. Some possible reasons for the error:
- The application is not running or enabled.
- The environment is not enabled.
- The test object is not visible.
- The recognition properties for the test object no longer reflect the test object in the application.
To specify various aspects of the highlight window (color, width, flash, and display time), use the Set Highlight Window Preferences dialog box or the Highlight page of the Preferences dialog box.
Related concepts
New test objects in an object map
Searching for objects in a test object map
Related tasks
Create and using a test object map to test applications
Merging multiple test object maps
Add objects to a test object map
Converting dynamic test object
Use ClearCase with test object maps
Add a test object to an object map and a script
Renewing a name in associated script(s)
Resetting object names to the default names in associated script(s)
Editing test object descriptions