What is Smart Identification in QTP and explain it

Smart Identification is a unique feature of QTP that comes into picture if the following conditions are satisfied.

1. When Normal Object Identification Fails

2. When the Enable Smart Identification check box is checked in the Object Identification Dialog Box.


Smart Identification (SI) works on the principle of filtration.

When the check box is selected and the configure button is clicked another dialog box is opened where you can set the Base Filter properties which are mandatory and Optional Filter Properties based on which the object is identified. When the properties are configured in the Smart Identification mode then the properties are not changed in the object repository for that object for this we need to run the script/test in Update Run Mode.

If you feel that this also failed then you can use one more property of Smart Identification known as "Ordinal Identifier" which makes use of the two types of properties for object identification. They are

1. Index
2. Location.

QTP traces the location of the object and assigns a unique Id which can be used for object Identification.

If all these fails for Object Identification then the only solution is to do descriptive programming.

3 comments:

vishwas said...

Thanks a lot for the information!

jaya said...

Ordinal Identifier uses 'Creation time' also apart from Location and index.Please correct your article.

Harish_QTP said...

Creation time is applicable only for web Based application. So what ever is mentioned in this article holds good for windows based applications.

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */