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.
Answer Posted / manjunatha
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 |
Post New Answer View All Answers
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Why is Client side image is preferred over server side image?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How to find Operating system information using QTP script?
Explain how Selenium is different from UFT?
What are the types of object repositories? Which one is you are using?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
can the activities of test case design be automated?
describe some problems that u had with automating testing tool?
How do you delete unwanted results in qtp?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How will you report the bug and explain the defect tracking sheet you handled?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?