Le 27 oct. 2009 à 07:24, yuping zhong a écrit :
Dear All,
As it is known to all that,assert can be use in the unit test But
when I try to use the !assert ,it always fails,any idea of this?
Thanks in advance.
-Zhong
Hello,
To have a negative assert working (mostly on non visible
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 ...
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