That's true, got that.
Thank you very much for reply

Satish

On Apr 7, 4:54 am, Jarmo Pertman <[email protected]> wrote:
> Why are you making it to string and comparing with string
> representation of TrueClass? You also had only one '=', which makes
> your if to be always true.
>
> Correct would be of course
> if $ie.checkbox(:name,"blah").checked? == true
> end
>
> On Apr 3, 4:00 pm, "Darin Duphorn" <[email protected]>
> 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- 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 [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to