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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

By using QTP can we record any log files written by the application which is in execution?

1695


What are the features and benefits of quick test pro (qtp 8.0)?

788


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

6670


what is review

1849


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1659


Can we Test Welcome Screens and Process Images with QTP

1656


What are the general steps involved in the data driven framework?

758


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1549


Write a script to customize the test results in PDF and HTML format.

2310


banking project description for software tester

7219


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1759


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

761


Explain the concept of how quicktest professional (qtp) identifies object?

769


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1832


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

887