Here's a previous thread from the mailing list:  
<http://lists.canoo.com/pipermail/webtest/2009q2/012345.html>

The link shows how we "soft fail" using Ant and 
<http://lists.canoo.com/pipermail/webtest/2009q2/012348.html> has Ian's 
implementation of the same solution in Groovy.

DataDriven can also be used to achieve a similar result, but I feel it's a bit 
confusing and clunky as you still need to provide a sheet with 1 row of unused 
data and the intent of the test isn't as clear when you come across a 
dataDriven tag in the middle of the steps.

I should mention, using any of these solutions will not only suppress the 
failure, it will suppress any error messages associated with the failure, which 
can make debugging the test failures difficult.

Cheers,

John Spann | Software Engineer

Citrix Online Division
Citrix Systems, Inc.
6500 Hollister Avenue
Goleta, CA 93117 USA
www.citrix.com

Phone: 805.690.3489
Cell: 805.729.0008
Email: [email protected]


________________________________
From: Hernan Castagnola <[email protected]>
Reply-To: <[email protected]>, Hernan Castagnola <[email protected]>
Date: Mon, 24 Aug 2009 14:06:58 -0700
To: <[email protected]>
Subject: Re: [Webtest] Continue when one step fails



You can set up two different properties haltonerror and haltonfailure. But it
is not going to do what you are expecting, because this properties just
apply for test cases and you are looking for something that applies for
steps.
I had the same issue some time ago and I couldn't find any solution yet.

Thanks,

Hernan


Sterne wrote:
>
> Hi everybody,
>
> after solving my last problem I have a new one.
>
> I have to do multiple different tests, each one includes some steps.
>
> Now i do not know if one of the steps will fail oder pass. But that is
> exactly the problem, when one step fails the complete webtest stops.
>
> Is there any possibility to tell Canoo to continue with the next step
> and show at the end which steps passed and which steps failed?
>
> Thank you and Best regards
>
> Steffen Reitz
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
>

--
View this message in context: 
http://www.nabble.com/Continue-when-one-step-fails-tp25115769p25123657.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to