I am not sure but I think the haltonfailure/haltonerror attributes are
related to the "webtest" task not the "steps" task. If you are running a
test with multiple checking in a page and you want to check everything
without stoping on the first failure I don't think this will solve your
issue. There is another thread that shows a solution for telling webtest to
continue with next step when one step fails
 <http://lists.canoo.com/pipermail/webtest/2009q2/012345.html>

haltonerrorRequired? No, default is "true"Determines if the execution of the
current <webtest> stops if a program error (unhandled exception) is
encountered in one of the test steps. An
ANT<http://webtest.canoo.com/webtest/manual/annotatedRefs.html#ANT>BuildFailed
exception will be raised if it is set to "Yes". This will
terminate the execution of the
ANT<http://webtest.canoo.com/webtest/manual/annotatedRefs.html#ANT>script.
Setting the option to "false" will stop the execution of the current
<webtest> but continues with the next
ANT<http://webtest.canoo.com/webtest/manual/annotatedRefs.html#ANT>task,
e.g. another <webtest>.
haltonfailureRequired? No, default is "true"Determines if the execution of
the current test halts if a failure of one of the test steps is detected,
e.g. a <verify...> test did not pass. Even when set to "false" all of the
trailing <step>s of the current <webtest> will be skipped but processing
will continue with the next <webtest>. please let me know if that helped
you.

Thanks,

Hernan

2009/8/27 A Vander <[email protected]>

>
>
> See the config element, you must set the haltonfailure attribute
> appropriately.
> --
> View this message in context:
> http://www.nabble.com/Question-off-webtest-canoo-tp25163526p25170525.html
> Sent from the WebTest mailing list archive at Nabble.com.
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>

Reply via email to