Select an Object page of the Update Recognition Properties wizard
You use this page of the Update Recognition Properties wizard to select the object in your application for which you want to update recognition properties.
About this task
When you select an object, Rational® Functional Tester lists its recognition properties in the grid at the bottom of the Select an Object page.
If you select the wrong object, or decide to add a different one, use any of the methods to select a different object. The following three selection methods are available:
Object Finder Tool
Before you begin
About this task
The Object Finder tool is the most common and direct method of selecting an object:
Procedure
- Select the Object Finder tool icon and drag it over the object in your application
that you want to update.
Rational® Functional Tester outlines the object with a highlight border.
- Release the mouse button.
The object is selected and Rational® Functional Tester lists its recognition properties in the grid at the bottom of the Select an Object page.
Results
Select After selecting an object advance to next page option to go directly to the next page after you select the object. Clear the advance to next page option to remain on the Select an Object page to see the object recognition properties after you select the object.
Object Browser
About this task
Use the Object Browser method to browse for the object you want to update. The browser displays a hierarchical tree of objects in your application. The top level shows any applications you have running. Under each top level, Rational® Functional Tester displays the object hierarchy within that application.
Procedure
- Browse the object tree to find the object you want to update.
- Click the object to select it.
Rational® Functional Tester lists the object's recognition properties in the grid at the bottom of the Select an Object page.
Delay Method
About this task
Use the Delay method to select pop-up objects, such as menus. The Delay method uses the Object Finder tool, but enables you to set a delay, which gives you time to get to an object that requires clicking on other objects first.
Procedure
- In the Seconds before selection field, enter the number of seconds you want to delay before Rational® Functional Tester attempts to find the object (the default is 10 seconds).
- Click the Object Finder tool icon .
- Go to the application and find the object you want to select.
Anything you do during the delay period is not recorded, which enables you to dig for objects if necessary.
When the timer runs out, Rational® Functional Tester selects the object under the cursor, outlines the object with a highlight border, and displays its recognition properties in the grid at the bottom of the Select an Object page.
Results
Select After selecting an object advance to next page option to go directly to the next page after you select the object. Clear the advance to next page option to remain on the Select an Object page to see the object recognition properties after you select the object.
Object Recognition Properties Grid
When you select an object using any of the above methods, its recognition properties are listed in the grid at the bottom of the Select an Object page. The recognition properties are determined by the object's proxy. For example, a button object has three recognition properties: label, .class, and .classIndex. This grid lists the name and value of your specific object's recognition properties. You can use that information to confirm that you selected the correct object.
To open: From the test object map menu, select Test Object: Update Recognition Properties button . You can also right-click in the test object map and select Update Recognition Properties.
. From the Test Object Map toolbar, click the