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

  1. Start the application. Verify that the page that contains the object is visible.

  2. 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

Test object maps

New test objects in an object map

Searching for objects in a test object map

Regular expressions

Object library

Related tasks

Create and using a test object map to test applications

Create a new test object map

Merging multiple test object maps

Add objects to a test object map

Insert dynamic test object

Converting dynamic test object

Use ClearCase with test object maps

Add a test object to an object map and a script

Editing object properties

Displaying associated scripts

Renewing a name in associated script(s)

Resetting object names to the default names in associated script(s)

Add test objects to a script

Add test object descriptions

Editing test object descriptions

Delete test objects from an object map

Unifying two test objects

Maintaining a test object map

Renaming a test asset

Update recognition properties

Delete a test object map

+

Search Tips   |   Advanced Search