what is smart identification?

Answer Posted / raju

QTP uses smart identification to recognize the objects
those are not recognized with mandotary properties of the
object.



Smart Identification is nothing but an algorithm used by
QTP when it is not able to recognize one of the object. A
very generic example as per the

QTP manual would be, A photograph of a 8 year old girl and
boy and QTP records identification properties of that girl
when she was 8, now when

both are 10 years old then QTP would not be able to
recognize the girl. But there is something that is still
the same, that is there is only one girl in

the photograph. So it kind of PI (Programmed intelligence)
not AI.

When should i use SMART Identification?

Something that people don't think about too much. But the
thing is that you should disable SI while creating your
test cases. So that you

are able to recognize the objects that are dynamic or
inconsistent in their properties. When the script has been
created, the SI should be enabled,

so that the script does not fail in case of small changes.
But the developer of the script should always check for the
test results to verify if the SI

feature was used to identify a object or not. Sometimes SI
needs to be disabled for particular objects in the OR, this
is advisable when you use

SetTOProperty to change any of the TO properties of an
object and especially ordinal identifiers like index,
location and creationtime.

For more information go thru this link

http://mercuryquicktestprofessional.blogspot.com/2006/11/how
-qtp-identifies-objects-complete.html

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you exit from an action?

621


how to test Web application using QTP software

1342


How can you write the scripts that operate on different objects depending on run-time information?

2128


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1460


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1509






Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1291


What is text check point and text area check point?

622


Hi All, I need code for how to execute qtp scripts from excell sheet

1471


Explain the parameter in qtp?

589


What is test object model in quicktest professional (qtp)?

559


How do you send email with attachment from outlook using qtp ?

572


What is a Patch in QTP?

615


Is QTP supports Unix. If yes, then how the test automation is done?

1738


Hi,All How to create a link in excel sheet using qtp

3011


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

2467