-->Smart Identification

If the recorded description does not enable QuickTest to identify the specified object in a step, and a Smart Identification is enabled for the object, then QuickTest tries to identify the object using the Smart Identification mechanism.
Smart identification comes to action in 2 possible scenarios.
1.No Object Matches the Recorded Description
2.Multiple Objects Match the Recorded Description
Note: If the Smart Identification mechanism cannot successfully identify the object, the test fails and a normal failed step is displayed in the Test Results.
With smart identification mechanism, QTP learns 2 more categories of properties.
1.Base Filter Properties
2.Optional Filter Properties
Inorder to use the smart identification logic during playback, first of all smart identification should be enabled while learning the objects itself. By default smart identification is enabled only for the web controls & it is disabled for all other controls.
Steps to configure Smart Identification:
1. Select Tools --> Object Identification
2. Select the required environment from the list
3. Select the required test object class from the left panel
4. Enable the check button “Smart Identification”’
5. Click on configure --> Click on Add\Remove button
6. Add the properties under base filter properties
7. Add the properties for optional filter properties also
8. Click on OK --> Click on OK
9. Learn the object either by recording or manually selecting the object

Note:
1) We can’t directly enable the smart identification during playback. Rather it must be learn with smart identification properties. During playback if QTP fails to identify the object with the mandatory & Assestive properties, it will automatically use smart identification logic.
2) We can check in the QTP test results, what are the properties used for identifying the object uniquely when the smart identification is used.