<not>
    <verifyText text="I should not be on the page"/>
</not>
In this case if the text "I should not be on the page" is not on the page then 
the verifyText step will fail and then the <not> statement will switch the fail 
to a pass and you have a test for text not being on the page.  The <not> step 
works great for this and works for all other steps as well.

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noam Aigerman
Sent: Friday, June 13, 2008 2:50 PM
To: [email protected]
Subject: [Webtest] checking that an element *doesn't* exist

How can I verify that some text (or other element) *doesn't* exist? Why isn't 
there an option in verifyText, for instance, that marks if the text should be 
found or not?
Thanks, Noam

Reply via email to