Marc Guillemot schrieb:

Shafeer Hajamohideen <[EMAIL PROTECTED]> writes:
Hi Mark,

That's nice. I have a question. In my web test sometimes I get a exception which is as follows;

com.canoo.webtest.engine.StepFailedException: Step[clickButton "add bidder to favorites" (11/25)]: HTTP error 500, at: clickButton, Step: ClickButton........

This is from the report I generate after running my tests. But actually it is bug in the web-application I'm testing and I am able to check the logs of tomcat and see the stack trace behind the HTTP error 500 thrown from the application. Is there a way I can catch this in canoo webtest and show it in the test report page where there is a error?

this is something I want to do since a long long time. I've made the necessary
improvements in htmlunit for a few weeks and this should now be possible. I
guess that I will find time for it in the coming weeks.
That would be nice, because everytime I get such an error, I have to reproduce it by checking the application manually. Is there a workaround like the one you mentioned here to include the exeption in the test-report.xml, so that I can display it?

--
Shafeer Hajamohideen

mindmatters*

* Neuer Kamp 30
 20357 Hamburg

 Fon       +49 40 31792272
 Fax       +49 40 31792273
 E-Mail    mailto:[EMAIL PROTECTED]
 Website   http://www.mindmatters.de/

-------------------------------------------------------------------------
Es läuft und läuft und läuft: Schon über 17.000 Downloads für JSF-Spring,
unsere JSF-/Spring-Integrationslösung! http://jsf-spring.sourceforge.net/
-------------------------------------------------------------------------

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

Reply via email to