Thank you very much to all for quick responce.
I used chceked? and it worked for my schenario.

I am very new to Watir. Is there any pdf file I can read for
biginners? or is there a site you can refer me too for kick starting
my automation?

Thanks a lot
Satish.

On Apr 3, 9:00 am, "Darin Duphorn" <dduph...@redbrickhealth.com>
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: 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 thecheckboxis 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 thecheckboxis checked or
> not?
>
> There is also ie.checkbox.checked? which is the one i am using,
> because it's most straightforward.- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
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