ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Explain the concept of how QTP identifies object.
 Question Submitted By :: Sreeprasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Explain the concept of how QTP identifies object.
Answer
# 1
During recording qtp looks at the object and stores it as

test object.For each test object QT learns a set of default

properties called mandatory properties,and look at the rest

of the objects to check whether this properties are enough

to uniquely identify the object. During test run,QT

searches for the run time obkects that matches with the

test object it learned while recording.
 
Is This Answer Correct ?    0 Yes 0 No
Sreeprasad
 
  Re: Explain the concept of how QTP identifies object.
Answer
# 2
Object identification:
QTP will identify the object in the following manner during 
the running.
It will under stand the script statement.
Then it releases that it needs to from some action on some 
object, for that it needs some information about that 
object.
For that information it will go to the object repository 
and get the information from their.
With that information it will try to identify that object. 
If it all the object is identified it will perform action 
on that object. Here the information means object 
properties.
And now the question is that how it is learning those 
properties, to identify the objects.
This is the point where every one thinking his one style, 
but the fact is that. That the process of learning is like 
this.
 There are two types of object identification that QTP 
normally uses apart from the ordinal identifiers.
In general there are four types of properties that QTP 
having.
1.	Mandatory properties.
2.	Assistive properties.
3.	Base filter properties.
4.	Optional filter properties.
And ordinal identifiers like location, index and creation 
time.
As I told that QTP will be using two types of object 
identification.
The first one is normal identification.
In this identification the learning of the properties will 
be in the following way.
First the QTP will learn all the mandatory properties at a 
time. And with these properties it will try to identify the 
object if at all it feels these properties are sufficient 
to identify the object uniquely, and then it will stop 
learning and use those properties. If at all it feels these 
properties are not sufficient to identify the object 
uniquely, then it will learn the first assistive property. 
And try to identify the object with those properties 
(mandatory and first assistive property), if at all it 
feels that these properties are sufficient to identify the 
object uniquely then it will stop learning and use those 
properties to identify the object. If it feels these 
properties are not sufficient to identify the object 
uniquely. Then it will learn the second assistive property 
and repeat the same process till it identify the object 
uniquely. If at all it fails to identify the object 
uniquely by using all these properties also. Then the 
ordinal identifiers come into picture. This is the process 
QTP identifies the objects when the smart identification is 
disable.
The second type of identification is smart identification.
In the process QTP will be learning all the mandatory, base 
filter properties and optional filter properties at time. 
But the identification process is as follows.
If you invoke the smart identification then also first QTP 
will try to identify the object by using normal 
identification process. That is the above process apart 
from the ordinal identifier. Now it will not use the 
ordinal identifiers. If the normal identification fails 
then it will come to the smart identification. And forget 
about the normal identification also all those properties 
learnt in the normal identification. And now it will using 
all the base filter properties at time and tries to 
identify the object uniquely. If at all it feels that these 
are sufficient then it will use these properties to 
identify the object uniquely. Otherwise take the first 
optional filter property and same process will continue as 
above till the object is identified uniquely. If at all the 
smart identification is also fails then it will go to use 
the ordinal identifiers. This the actual process of 
identification. If we have any questions regarding this 
please go head and send me the e-mail to me or directly you 
can contact me. only in the mentioned hours only.(8.00 PM 
TO 8.00AM)
                                                            
                       Parusuram challa,
                                                            
                     pramchalla@gmail.com
                                                            
                         (+91)9822769949
 
Is This Answer Correct ?    0 Yes 0 No
Parusuram Challa
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know  1
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)  1
what is aregular expression? UHG3
Syntax for how to call one script from another? and Syntax to call one "Action" in another?  2
suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password  2
what is defination of intergration testing?  2
What exactly is the difference among all the three recording modes. TCS2
what is the difference between window command and dialog command  1
How to record objects of Windows taskbar RoboSoft2
How to invoke QTP using Dos prompt ? ABC2
WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?  1
in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana) IBM7
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri  3
hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me  2
what is the Command used to start the QTp from Run.  6
what are SetToProperty, SetROProperty,GetToproperty scripting?  2
Hi any body can tell me the synchranization point syntax thanks in advance AppLabs3
can we call a test in another test? iFocus1
What the differences are and best practical application of each.  1
What is meant by Pseudo Code? Satyam4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com