Hi,
Please can you define about " to_s " which you wrote in a
statement, becasue i am getting error of it.
Thanks
On Friday, April 3, 2009 6:00:59 PM UTC+5, Darin Duphorn wrote:
>
> 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: [email protected] <javascript:>
> [mailto:[email protected] <javascript:>] On Behalf Of Darin
> Duphorn
> Sent: Friday, April 03, 2009 7:58 AM
> To: [email protected] <javascript:>
> 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: [email protected] <javascript:>
> [mailto:[email protected] <javascript:>] 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.
>
>
>
>
>
>
--
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]