Smart identification is a mechanism in QTP to identify objects smartly, whenever object identification fails due to changes in the Object properties.
Methods of Smart Identification –
-
Add – Adds the specified property to the properties list.
-
Find – Returns the position of the specified property.
-
Remove – Removes the specified property from the properties list.
-
RemoveAll – Removes all editable properties from the properties list.
Properties of Smart Identification –
-
Count – The number of editable properties in the list.
-
Item – The property located in the specified position.
Additional Reading
- How QTP identifies objects?–Complete Refresher
- XPath based object identification in QTP 11
- Object Identification in QTP