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

can anybody give me the links for vb script material

1 Answers  


Tell me the situations where we will use Data Driven?

4 Answers   Ordain Solutions,


tell me about regular expressions in QTP? where we use? give eample?

2 Answers   IBM,


How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming

2 Answers   Genpact,


I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly

1 Answers  






explian qtp frame work and what is the use of it? what is the neceecity of this? explian detail?

2 Answers  


what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2?

1 Answers   Infosys,


what is the difference between link and hyperlink?

2 Answers  


How to capture a window in QTP?

0 Answers   IBM, Mphasis,


what is use of optionexplicit in variable declaration

5 Answers   GE,


how many scripts r there in QTP? pls any answer this question?

4 Answers  


If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?

16 Answers   Genpact, HP,


Categories