|
There must be something else wrong because I put the following in a web
page: <input type="radio" name="selectionids"
value='8bf19f48-9462-4285-90ef-241f4fd5f7f7'> <input type="radio" name="selectionids"
value='8bf19f48-9462-4285-90ef-241f4fd5f7f8'> <input type="radio" name="selectionids"
value='8bf19f48-9462-4285-90ef-241f4fd5f7f9'> And could click each using: $ie.radio(:name, "selectionids",
'8bf19f48-9462-4285-90ef-241f4fd5f7f7').set $ie.radio(:name, "selectionids",
'8bf19f48-9462-4285-90ef-241f4fd5f7f8').set $ie.radio(:name, "selectionids",
'8bf19f48-9462-4285-90ef-241f4fd5f7f9').set They were all selected in turn without error. If you want more help you are going to have to give us enough of your
script and the html it is accessing to see what is going on. --Mark -----Original Message----- I get following exception "c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists': Unable to locat e object, using id and selectionids (Watir::Exception::UnknownObjectException) from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3145:in `set' from C:/SmokeTest/login_test.rb:31 I also tried radio.focus but it did not worked. Thanks Jassi Akkal > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Jassi Akkal > Sent: Thursday, May 18, 2006 2:28 PM > To: [email protected] > Subject: [Wtr-general] need help with radio button > > Hi, > > I am very new to the watir and i have been > struggling with not being > able to select the radio button. My HTML code is > listed below > > > > > <input type="radio" > name="selectionids > value='8bf19f48-9462-4285-90ef-241f4fd5f7f7' > > I used ie.radio(:name, > "selectionids",'8bf19f48-9462-4285-90ef-241f4fd5f7f7').set, > but it is not working for me. > > I will appreciate any help. > > Thanks > > Jassi Akkal > > > jassi akkal > [EMAIL PROTECTED] > > __________________________________________________ jassi akkal [EMAIL PROTECTED] _______________________________________________ Wtr-general mailing list http://rubyforge.org/mailman/listinfo/wtr-general |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
