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

Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc.,

3 Answers   ADP,


what is the default ordinal identifier.what are the send keys in qTP.

1 Answers  


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,


In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?

2 Answers   Oracle,


How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?

1 Answers  


How to retrieve the property of an object?

1 Answers  


how we do database testing with qtp using descriptive programming?

22 Answers   Nutrins, Rohit Technologies, Symphony, Syntel, TCS,


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

1 Answers  


How to replay a script in qtp?

1 Answers  


How u perform Batch Program in QTP?

3 Answers  


How to analyzing test results using quicktest professional?

1 Answers  


Categories