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

what is objectidentification?

2 Answers  


what QTP Options do you know?

0 Answers  


What is the syntax for how to call one script from another?

0 Answers  


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


Where the text version of script file located in file system?

1 Answers  


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers  


i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Semantic Space,


What do you do if QTP doesn't recognize object ,what action should be taken

11 Answers   Lehman Brothers,


what is defination of intergration testing?

2 Answers  


how to post xml data from QTP scripts to any application?

0 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761

1 Answers  


What are the check points can be inserted without recording?

0 Answers  


Categories