Hi,

JWebUnit is based on JUnit, and use assertions. You can catch AssertionFailedError exception before JUnit and produce your beep in the catch block.

Hope it helps you.

++
Julien

----- Message d'origine ----
De : amit h <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mercredi, 7 Juin 2006, 2h05mn 39s
Objet : [Jwebunit-users] Problem testing login page

Hello  ,

I have written a code to test webpage login.
I want to include a beep when the login fails, but the jwebunit does not provide any boolean methods where I can catch the failure.
Can anybody suggest a way to overcome this problem.
Thanks in advance.



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to