[Webtest] [webtest][JIRA] Created: (WT-109) verifying

Paul King webtest@lists.canoo.com
Fri, 18 Nov 2005 06:35:00 +1000


ravi prasad wrote:
> 
> How can we use the Test scripts which we need to fail deliberately? 
> 
> (i.e. Test script fails which is expected to fail and thus Canoo shows Test Script Passed)
> 
> How can we store a text field’s data and use it to verify 
> 			it in further pages?

I am not sure what you mean. If you are using the errorproperty and failureproperty
attrbutes in your config then you can simply use in your ant file something like:

<fail if="errorproperty">

Cheers, Paul.