Relevant for: GUI tests and components
This dialog box enables you to set mandatory and assistive properties, to select the ordinal identifier, and to specify whether you want to enable the Smart Identification mechanism for each test object class.
User interface elements are described below:
The list of environments, according to the loaded add-ins. This list may also include additional environments for which you or a third party developed support using Add-in Extensibility.
|Test Object classes
The list of the test object classes associated with the selected environment.
Note: In Standard Windows, the user-defined classes are displayed at the bottom of the list.
The list of properties that UFT One always learns as part of the description for test objects of the selected class.
The list of additional properties that UFT One can learn for a test object of the selected class to create a unique test object description.
Up and Down arrows. Enable you to set the preferred order for the Assistive Properties list.
When UFT One learns an object, and assistive properties are necessary to create a unique object description, UFT One adds the assistive properties to the description one at a time until it has enough information to create a unique description, according to the order you set in the Assistive Properties list.
Enables you to add or remove properties for the test object class using the Add/Remove Properties Dialog Box.
|Enable Smart Identification
Enables or disables Smart Identification for the selected test object class.
Opens the Smart description properties Dialog Box, which enables you to specify the properties for UFT One to learn as Smart description properties.
Enabled only when the Enable Smart Identification check box is selected.
The type of ordinal identifier to use when UFT One needs to identify an object with an otherwise identical description. The ordinal identifier enables UFT One to assign a serial order value to each of the otherwise identical objects. For details, see Ordinal identifiers.
|Logical Name Definition
Supported for Web test objects
Values taken from property. The property UFT One uses to create the test object's logical name.
Using regex. (Optional) A regular expression that extracts the part of the property to use for the name.
Enables you to map an unidentified or custom class to a standard Windows class by opening the Object Mapping Dialog Box.
Note: To enable this option, you must select the Standard Windows environment from the Environment list.
|Reset Test Object
The down arrow enables you to select one of the following options:
You can restore the default settings for object identification and the Smart identification settings for all loaded environments, for the current environment only, or for a selected test object, using the Reset Test Object option in the Object Identification Dialog Box.
Only built-in object properties can be reset. When you reset the settings for the standard Windows environment, user-defined objects are also deleted. For details on user-defined objects, see Test object mapping for unidentified or custom classes.
Enables you to generate an automation script that sets the current object identification settings.
When you click the Generate Script button, a Save As dialog box opens, enabling you to specify the name and file system location to store the generated file.
You can use some or all of the script lines from this generated script in an automation script. This can be useful, for example, if you to set the same object identification settings on multiple UFT One computers.