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
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 |
Answer / ratheesh
BY using index property u can define the same objects
Is This Answer Correct ? | 12 Yes | 1 No |
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 |
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 |
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 |
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?
3 Answers Aricent, Delhi University, TCS,
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
What is difference between QC and TD?
Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji
How to use reporter.report event in qtp ?
What are the different ways to invoke an application using QTP?
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
Can we Test Welcome Screens and Process Images with QTP