how qtp identify two objects having same name, supose
objects are in same page also with same name,specify spl
feature.
Answer Posted / 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 |
Post New Answer View All Answers
What is QTP and the use of QTP in TD?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
How will you report the bug and explain the defect tracking sheet you handled?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Did the scripts need lot of maintenance? If yes, why?
what is output value in QTP and how it can be used in automation testing
Is it possible to split an action? How?
how did u use automating testing tools in ur job?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How to creating an output value using quicktest professional (qtp)?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
Why qtp always start action1 and does not start action?
How many types of trigger events are there in qtp?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What are the key points to create a framework in QTP for oracle forms?