AW: [Webtest] Ant Script to Fail when Test Fails
christoph.krammer@mvv.de
christoph.krammer@mvv.de
Tue, 2 Oct 2007 16:07:13 +0200
Hello again,
I figured out that this should be possible with the "failureproperty" of =
the <config> tag. But I did not get how to use this property. When I use
<config
...
failureproperty=3D"wt.test.failed" />
This property does not get set in case of failed tests.
Thanks for any help.
Regards,
Christoph
-----Urspr=FCngliche Nachricht-----
Von: webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com] Im Auftrag von =
christoph.krammer@mvv.de
Gesendet: Dienstag, 2. Oktober 2007 11:58
An: webtest@lists.canoo.com
Betreff: [Webtest] Ant Script to Fail when Test Fails
Hello everybody,
I want to do different actions in the Ant script when a test fails or is =
successful (deploy the application under test to a different application =
server). But to be able to do this, I have to decide whether a test was =
successful. But the Ant script states Build Successful even if tests =
fail. Is it possible to get a Build failed message, when a single test =
fails, but still to run all tests and generate the HTML output.
Thanks for any help.
Regards,
Christoph
---
Christoph Krammer
24/7 IT-Services GmbH
Luisenring 49
68159 Mannheim
Germany
christoph.krammer@mvv.de
www.24-7-it-services.de
24/7 IT-SERVICES GmbH / Knooper Weg 75 / 24116 Kiel Handelsregister-Nr. =
HRB 7458, Amtsgericht Kiel
Gesch=E4ftsf=FChrer: Dr. Dirk Bevers, Dr. Ulf Dunker =
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest