How to perform action on objects, If two objects have the
almost the same name ?
example :
Object 1 : "Entry of Items"
Object 2 : "Items"
Whenever I ask QTP to perform an action on Object 2 it
performs action on Object 1.
Note: The two objects are present in an Oracle Application
tree.
Answers were Sorted based on User's Feedback
Just u can use Location or Index ordinal identifier. Then
QTP easily identified the object.
EX: B().P().webbutton("name:=Entry of
items","Location:=0").click
OR
B().P().webbutton("name:=Entry of items","index:=0").click
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rohit pathak
Just mention all the properties from objects repository, but
if all the properties are same then change one of its
property by which tool can easily able to recognize the object.
Is This Answer Correct ? | 1 Yes | 2 No |
How to handle the exceptions using the recovery scenario manager in qtp?
how to display message with out using msgbox function?
Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT
Why a framework is needed?? Plaese post your answers ASAP
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
if numbers are always changing write a script for that
What is test object model in QTP?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to use output values in qtp ?
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
How to Import data from a ".xls" file to Data table during Runtime.
We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.