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

What is reusable action?

1 Answers  


How can i open 5 multiple browser at once through QTP VB script

4 Answers  


Hi ,Can any one pleas explain how to test splash objects using QTP?

1 Answers   Value Labs,


Explain different types of action in qtp?

1 Answers  


What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1 Answers  


While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next

1 Answers  


How to execute a winrunner script in quicktest professional?

1 Answers  


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

1 Answers  


What is log file?How to write log file code?

2 Answers   Apps Lab, Value Labs,


Discuss quicktest professional (qtp) environment?

1 Answers  


What is Modular framework and Keyword drive framework? Explain

4 Answers  


Categories