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="wt.test.failed" />

This property does not get set in case of failed tests.

Thanks for any help.

Regards,
 Christoph

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Dienstag, 2. Oktober 2007 11:58
An: [email protected]
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

[EMAIL PROTECTED]
www.24-7-it-services.de

24/7 IT-SERVICES GmbH / Knooper Weg 75 / 24116 Kiel Handelsregister-Nr. HRB 
7458, Amtsgericht Kiel
Geschäftsführer: Dr. Dirk Bevers, Dr. Ulf Dunker 
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to