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
How to find array size in qtp?
who QTP recognizes the object stored in object repository?
Which recording modes need more memory?
Your roles and responsibilities and daily tasks? (As automation tester)
What is a Patch in QTP?
assume i have few url link how will i dynamically call then using descriptive programming?
what is the latest version of QTP? Main difference between 9.2 and 10 version
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How you can find length of array in qtp?
What is system testing and what are the different types of tests you perform in system testing?
How can I import environment from a file on disk?
How to modify the text checkpoint?
Step 3&4 are repeated until an the object in recognised uniquely.
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.