how qtp identify two objects having same name, supose
objects are in same page also with same name,specify spl
feature.

Answers were Sorted based on User's Feedback



how qtp identify two objects having same name, supose objects are in same page also with same name..

Answer / sudheer 4m mphasis

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 1 No

how qtp identify two objects having same name, supose objects are in same page also with same name..

Answer / ratheesh

BY using index property u can define the same objects

Is This Answer Correct ?    12 Yes 1 No

how qtp identify two objects having same name, supose objects are in same page also with same name..

Answer / n.n.raju

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 ?    7 Yes 3 No

how qtp identify two objects having same name, supose objects are in same page also with same name..

Answer / jayant naikwade

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

how qtp identify two objects having same name, supose objects are in same page also with same name..

Answer / nidhi

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 7 No

Post New Answer

More QTP Interview Questions

how do u handle an object without name using QTP 9.2?

0 Answers   CTS,


what is throw object ?

1 Answers  


What are the flaws in water fall model and how to overcome it?

0 Answers  


diff between qtp versions from 8.5

0 Answers   Semantic Space,


images are dynamically changes how to compare two images

2 Answers   Hexaware,






How to Display last item of a Combobox by using QTP?

10 Answers  


Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)

1 Answers  


What are the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


What are Error handling other than Recovery scenario manager?

3 Answers  


Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.

3 Answers  


How to make Shared object repository in qtp 9.1 and 9.2?

2 Answers  


what are the 5 types of objects in qtp

6 Answers   ABC, TCS, Wipro,


Categories