In the Map to Controls tab (Test Object Class designer), each browser-specific tab contains three rule creation panels, in which you can create a set of rules that UFT One uses in different ways.
Each rule creation panel contains a rule editor area and buttons that you can use to create rules automatically and to test the rules on an application.
To create rules automatically and to test rules, follow the process described in Map a test object class to application controls.
To edit rules manually, use the toolbar and UI elements within the rule editor area.
Each rule creation panel contains:
Starts a session for automatically creating mapping rules. You create the rules by pointing to controls of the relevant type in your application.
For task details, see Create a set of mapping rules automatically .
Highlights all of the controls that match the mapping rules in all open Web applications.
|Test & Refine
Starts a session for automatically creating rules. All of the controls that match the currently defined rules are marked as selected in all open Web applications.
This area displays the mapping rules and enables you to edit them manually. For example, you can:
Add and delete rules.
Change the order or logic of rules.
Generalize the rules by defining regular expressions for the property values.
User interface elements are described below (unlabeled elements are shown in angle brackets):
This toolbar contains the following buttons:
Rectangles that contain single rules or grouped rules. To select a rule or group of rules, click its container.
A single rule is made up of the following elements:
Indicates whether to use And or Or logic for the set of rules in the group.
Click to switch between AND and OR.