ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Testing >> Automation Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions (496)
 Load Runner interview questions  Load Runner Interview Questions (486)
 QTP interview questions  QTP Interview Questions (3495)
 Test Director interview questions  Test Director Interview Questions (161)
 Rational TestSuite interview questions  Rational TestSuite Interview Questions (106)
 Silk Test interview questions  Silk Test Interview Questions (59)
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions (385)
Question
how qtp identify two objects having same name, supose 
objects are in same page also with same name,specify spl 
feature.
 Question Submitted By :: QTP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
This is the SPL feature for this problem.

QuickTest can use the following types of ordinal
identifiers to identify an object:

Index. Indicates the order in which the object appears in
the application code relative to other objects with an
otherwise identical description. For more information, see
Identifying an Object Using the Index Property.
Location. Indicates the order in which the object appears
within the parent window, frame, or dialog box relative to
other objects with an otherwise identical description. For
more information, see Identifying an Object Using the
Location Property.
CreationTime. (Browser object only.) Indicates the order in
which the browser was opened relative to other open
browsers with an otherwise identical description. For more
information, see Identifying an Object Using the
CreationTime Property.
 
Is This Answer Correct ?    16 Yes 0 No
Sudheer 4m Mphasis
 
Answer
# 2
BY using index property u can define the same objects 
Is This Answer Correct ?    11 Yes 1 No
Ratheesh
 
 
 
Answer
# 3
QTP identify the objects by logical name and class but
smart identification mechanism is used for identified the
object from object repository
in this situation QTP uses ordinal identifier Concept
 
Is This Answer Correct ?    6 Yes 3 No
N.n.raju
 
Answer
# 4
you have to enter to the rep and find the object
then check the propertoes
and you have to add index property there
in both objects with the same name
and for descriptive you have to include the index:= and the
number of index of the object
within the object descrioption
basically the index is what can help you identifying the
correct one
 
Is This Answer Correct ?    1 Yes 0 No
Jayant Naikwade
 
Answer
# 5
objects ar identify by qtp through their logical name and
class we can use smart identification to recognise object
which is not normally recognised by qtp in normal process

do.send answer correct me i m wronge
 
Is This Answer Correct ?    1 Yes 6 No
Nidhi
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Tel me what was the automation testing process you followed?   2
What is Optional step?   4
What is iteration?   1
In a web page, one web table is present which is dynamic. In that table one of the column has links with the same inner text. write a script so that i need to click the third link.   3
suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately? Wipro 7
what is smart identification?   7
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?   2
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?   4
How to Compare two database tables by using QTP?Please give me code details.   1
i don't have any experience in qtp? Can u please tell me What work i have to do?   4
how do you done Data-driven test using MS-Word Instead of DataTable IBM 3
What are SetToProperty, SetRoProperty, GetToProperty scripting?   2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com