Hello,

I have the following problem and I don't know how to solve it:

I'm testing a webapplication in which you have to login. Each user can only
be logged in once. So all my tests starts with the login of this user. Then
there are different steps which the user should execute. At the end of the
test the user logs out.

The problem is: when one step fails the whole webtest stops. Therefore the
user will not be logged out and the session is still open. In this case I
have to restart the whole application, because I don't get the user out.

My question is if there is some functionality as finally, where I can say
"If a step fails you MUST execute these steps before stopping the webtest". 

Thanks in advance for your help,
Stefan
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-%22finally%22-functionality-in-WebTest--tf4533276.html#a12937119
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