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
What is optional step in qtp? How you can add optional step in qtp?
What is regular expression?
how to post xml data from QTP scripts to any application?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
What is qtpro? What is a quick test professional?
What is standalone database?
What is a checkpoint? How many check points are there in qtp?
How the smart identification is used in real time?Please explain with an example
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
how can i pass a "cript"as a parameter in to a function
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to recognise the webelement and verifying that webelement is enabled?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.