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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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 ?    1 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 ?    3 Yes 0 No
Parusuram Challa
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is FRAME WORK? How many Frameworks can QTP supports?  2
What is the Risk Analysis? Waht types of risk analysis are there?  1
What is a Run-Time Data Table? Where can I find and view this table?  3
diff between winrunner and qtp Wipro1
Explain about import and export files?  1
can anyone please send me qtp framework material please its urgent  1
how to change the properties of object during run time . plz give the code using flight reservation  1
what is difference between application testing and product testing? IBM1
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people GE3
HOW DO U CALL A ACTION IN QTP? BirlaSoft2
does test plan is in test strategy or test strategy is in test plan. TCS6
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....  2
What is an environment variable?  1
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.  1
In QTP how to interact tool and application build?  2
can we run the scripts of qtp 8.2 in the qtp7.0?  2
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?  1
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?  3
What are the parameters provided by QTP? Ordain-Solutions3
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro) Wipro2
 
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