A web page has two butons with same properties and rotating
in clockwise direction. how to click on any of the button?

Answers were Sorted based on User's Feedback



A web page has two butons with same properties and rotating in clockwise direction. how to click on..

Answer / sagar jadhav

As the buttons are having same properties and their
locations are being changed continuously.. you can go with
the index Or Creation time properties of the Ordinal
Identifier to identify the particular button... Thanks!

Is This Answer Correct ?    7 Yes 1 No

A web page has two butons with same properties and rotating in clockwise direction. how to click on..

Answer / phani

'Use the following code to click on the second button
Browser("").page("").webbutton("name:=XXX","index:=1").click
similarly to click on 1st button change index value to 0
You can also use highlight to conform particular webbutton on the webpage which you wanna click
Browser("").page("").webbutton("name:=XXX","index:=1").highlight
pls correct me if iam wrong

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How will you handle the situation when object is not captured during record?

2 Answers  


How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields.

3 Answers   IBM, TCS,


can u store QTp frame work folders in VSS? If Not where u store those?

1 Answers  


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

0 Answers  


where the log files stored when using QTP? plz send answer to me ........

1 Answers  






Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

0 Answers  


how to disable the pop ups through QTP using a script

0 Answers  


explain keyword driven framework?

2 Answers   Mindlance,


what is the difference between image and bitmap check point

3 Answers  


What is the use of sendkeys and what are send keys

0 Answers  


What is the expert view?

0 Answers  


I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day

2 Answers  


Categories