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 many number of actions possible in qtp?

601


how to acess a test in RSA?

1668


How did you use regular expressions in QTP and also in WR?

2163


In qtp, explain what is crypt object

597


In qtp, how you can remove the spaces from string?

546






How many add-ins comes by default with quicktest professional (qtp)?

560


What is meant by Output Value in UFT?

564


How QTP identify the system time that's changes every seconds?

593


Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen

1476


What are the features of quick test pro(qtp)?

534


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1519


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3245


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1584


What is the Difference between copy to action and call to action?

587


How to run a test using quicktest professional (qtp)?

544