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 |
Discuss QTP Environment.
how much space occupies in object respository by default?
How to associate function library at a run time?
any challange that faced in your project? (please give me some examples in your project?
Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .
How many ways we can parameterize data in QTP?
How can i open 5 multiple browser at once through QTP VB script
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
What are the advantages of Automation objects than Test Objects?
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key
what is testing process with QTP in organization