Hi iam doing POC using WATIR on our application. I need to get the management approval to implement this and iam struck in this issue.
Please let me know anyone have any suggestions here. Thanks & regards, Vasuki On Oct 28, 1:40 am, Super Kevy <[email protected]> wrote: > And finally: > Seehttp://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000315 > > In many instances, radio buttons on an html page have the same name, > but are identified by different values. > > <input type="radio" name="email_frequency" value="daily">Daily Email</ > input> > <input type="radio" name="email_frequency" value="weekly">Weekly > Email</input> > <input type="radio" name="email_frequency" value="monthly">Monthly > Email</input> > > Watir can access these using the following: > > browser.radio(:id, 'day_to_send', 'monday') # access the radio > button with an id of day_to_send and a value of monday > browser.radio(:name,'email_frequency', 'weekly') # access the > radio button with a name of email_frequency and a value of 'weekly' > browser.radio(:xpath, "//inp...@name='email_frequency' and > @value='daily']/") # access the radio button with a name of > email_frequency and a value of 'daily' > > I'm curious is the POC for a test tool or the application? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
