On Jul 4, 6:30 am, arihan sinha <arihan.si...@googlemail.com> wrote: > count the no of radio buttons with certain ids first then use the for loop > for this > > On Thu, Jul 1, 2010 at 12:08 PM, Shlomit Gazit > <shlomitpatr...@gmail.com>wrote:
For the HTML to be proper, the ID values should be unique, so there's no point to trying to count them. Furthermore watir pretty much presumes where ID values are concerned that the HTML is valid proper HTML and returns the first (and ONLY the first) element on the page(of ANY KIND) that has an ID that matches what you specified. Parameters like index etc are generally ignored if you specify ID as one of the 'how's of identifying an element. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com