Le 27 oct. 2009 à 15:47, Bret Pettichord a écrit :

>
> de Villamil Frédéric wrote:
>> To have a negative assert working (mostly on non visible elements),
>> I've been using the following:
>>
>> assert true == false if ....
>>
>> Not the best way to do it I guess, but works like a charm.
>> Regards
>>
>
> These will also do the same thing:
>
> assert false if ...
> assert !(...)
>
>

Oh, never thought about that...
Why going simple when you can make things complicated after all?

--  
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player  
proverb
[email protected]                        tel: +33 (0)6 62 19 1337
http://t37.net                                          Typo : 
http://typosphere.org


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