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



How to perform action on objects, If two objects have the almost the same name ? example : Ob..

Answer / 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

How to perform action on objects, If two objects have the almost the same name ? example : Ob..

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

Post New Answer

More QTP Interview Questions

c language is thre but what is the purpose of c++, java is there but what is the purpose of Advanced java ....why these are all versions are coming...whta is the problem?

2 Answers   Accenture,


Give the syntax to import/export xls into qtp.

0 Answers  


What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

0 Answers   Autodesk, EDS, Wipro,






Should have experience in framework means?

0 Answers  


Explain the concept of object repository and how quicktest professional recognises objects?

0 Answers  


what is the extension for QTP files?

11 Answers   AppLabs,


What’s the basic concept of QTP?

1 Answers  


take one exmple and write on that discriptive programe in qtp?

1 Answers  


In QTP while testing 3 tier application, It is Java Based Application developed using Java, servelets and JDBC etc... and It is a Web based Application.. which Add-In do we need to select while testing ...Java or Web Add-In

6 Answers  


How to create frame work for qtp?

1 Answers   Bank Of America, Polaris,


Categories