Just check out the WATIR User Guide (http://wtr.rubyforge.org/watir_user_guide.html) for "Access Element Using Index"
kavitha schrieb: > Hi friends, > > can any one help on this: > > Say for eg., HTML page has 4 pop buttons with same name and value. So, if I > ask watir to click the button with name or value, by defaults it takes the > first button. How to access the 2 and so on buttons. > > [b]Note:[/b] I have used send_keys to click those buttons, but the problem > is, i am not able to attach the pop up (that raised on clicking the buttons) > even with the exact title. > --------------------------------------------------------------------- > Posted via Jive Forums > http://forums.openqa.org/thread.jspa?threadID=5774&messageID=16167#16167 > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
