for example invoke "http://webtest.canoo.com" not { verifyText "NullPointerException" }
I usually put descriptions into may not steps, e.g. invoke "http://webtest.canoo.com" not(description: "no NPE on page") { verifyText "NullPointerException" } happy testing Dierk | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf Of Flower, Martin | Sent: Montag, 27. Oktober 2008 13:29 | To: webtest@lists.canoo.com | Subject: [Webtest] Negative test : Groovy syntax | | Hi - I want to check that a string is not displayed on a web | page. I've seen | http://webtest.canoo.com/webtest/manual/not.html - but what | is the equivalent groovy syntax ? Thanks. Martin. | | This e-mail and any attachment is for authorised use by the | intended recipient(s) only. It may contain proprietary | material, confidential information and/or be subject to legal | privilege. It should not be copied, disclosed to, retained or | used by, any other party. If you are not an intended | recipient then please promptly delete this e-mail and any | attachment and all copies and inform the sender. Thank you. | | | _______________________________________________ | WebTest mailing list | WebTest@lists.canoo.com | http://lists.canoo.com/mailman/listinfo/webtest | _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest