This task describes how to define and implement support for the identification properties of your test object class.
Note: This task is part of a higher-level task. For details, see How to Create or Update Support for a Single Control.
- Define the list of identification properties for your test object class
In the Properties Tab (Test Object Class Designer), add or remove properties or select base class properties to inherit and include in the list.
- Specify the UFT One functionalities for which the properties are used
Add properties from the Properties list on the left side of the Properties Tab to the different groups on the right. This indicates which properties are included in test object descriptions, which can be verified in checkpoints and used in output values, which should be used for Smart Identification, and so on.
- Define advanced options for identification property support - Optional
If you selected a property before clicking the button, the file opens to the relevant section within the function.
If the following conditions are met, the test object class inherits the get_property_value implementation from the base class. In that case, the function that you write does not have to retrieve a value for this property.
The control you are supporting is represented by the type of HTML element supported by the base class, or it contains such an element and you implemented a function that returns that element to UFT One.
The base class supports an identification property by the same name.