Well, I just tried this html also, and it works fine: irb(main):003:0> ie.radios.each do|r| irb(main):004:1* puts r irb(main):005:1> end type: radio id: name: AssociateWith value: Outlet disabled: false type: radio id: name: AssociateWith value: WebSite disabled: false type: radio id: name: AssociateWith value: Distributor disabled: false => 0
Zeljko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat Sent: Friday, July 29, 2005 4:07 PM To: [email protected] Subject: Re: [Wtr-general] radio button support Actually it's not missing, I just deleted it by mistake :) I deleted extra stuff since the radios are inside a table. Here I'll put the exact html here :) <table cellSpacing=5 cellPadding=0> <tr><td><input type=radio name=AssociateWith value=Outlet></td><td>Associate with an Outlet</td></tr> <tr><td><input type=radio name=AssociateWith value=WebSite></td><td>Associate with a WebSite</td></tr> <tr><td><input type=radio name=AssociateWith value=Distributor></td><td>Associate with a Distributor</td></tr> </table> On 7/29/05, Sean Gallagher <[EMAIL PROTECTED]> wrote: > Check your HTML. The first line is missing a closing '>'. > > On 7/29/05, Shao Kang Tat <[EMAIL PROTECTED]> wrote: > > Hey, > > > > I got the latest version of watir from the tarball (thanks Zeljko). I > > currently have a page that has 3 radio buttons..here's the html: > > > > <input type=radio name=AssociateWith value=Outlet > > <input type=radio name=AssociateWith value=WebSite> > > <input type=radio name=AssociateWith value=Distributor> > > > > > > when I do: > > > > ie.radios.each do|r| > > puts r > > end > > > > I get the error: WIN32OLERuntimeError: Unknown property or method `value' > > > > if I just do a puts r.name I get blanks. > > > > Is there a current fix for this? > > > > Shao > > > > _______________________________________________ > > 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 > _______________________________________________ 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
