Smart identification is a mechanism in QTP to identify objects smartly, whenever object identification fails due to changes in the Object properties.It's an algorithm to uniquely identify the objects dynamically.It identifies a particular object by comparing the properties of its test object and the run time object.
Smart Identification:
When ever the QTP is unable to identify the objects with the help of the
properties present in the object repository then the special mechanism provided by QTP
to identify the object smartly with some other properties is known as smart
identification.
Navigation for Object identification Configuration:
Activate the menu item tools
•
Select the option object identification
•
Select the desired environment
•
Select the desired object type
•
Specify the desired list of mandatory properties and assistive
•
properties with the help of corresponding add/ remove buttons
Select the ordinal identifier
•
Smart identification
•
Select the check box enable smart identification
•
Click on configure button
•
Specify the desired list of base filter properties and optional filter
•
properties with the help of add/remove buttons
Click on OK
•
Click once again on Ok
•
The Smart Identification dialog box enables you to create and modify the Smart Identification definition that QuickTest Professional uses for a selected test object class. When the recorded definition for an object does not enable QTP to identify an option, QuickTest Professional uses the smart identification definition (if defined and enabled) to identify the object.
Smart Identification uses two types of properties:
Base filter properties: The most fundamental properties of a particular test object class; those whose values cannot be changed without changing the essence of the original object. For example, if a Web link's tag was changed from to any other value, you could no longer call it the same object.