Sorry it was checked instead of set.  If you want to validate it true or
false remember to set it to string.

if $ie.checkbox(:name,"blah").checked?.to_s = 'true'

end

-----Original Message-----
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn
Sent: Friday, April 03, 2009 7:58 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: How to know if the checkbox is checked or
not?


$ie.checkbox(:name,"blah").isSet?

Also, this has been posted many times, so you can use the search.



-----Original Message-----
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Jarmo Pertman
Sent: Friday, April 03, 2009 7:54 AM
To: Watir General
Subject: [wtr-general] Re: How to know if the checkbox is checked or
not?


There is also ie.checkbox.checked? which is the one i am using,
because it's most straightforward.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to