Hi 
Michael  
Thanks for your answer. The problem was of a different nature. I had to set the 
encoding using the variable ANT_OPTS to ISO-XXXX. Now everything works fine.
Best RegardsDaniel

From: [email protected]
To: [email protected]
Subject: AW: [Webtest] Losing properties from ant to webtest
Date: Mon, 13 Aug 2012 05:37:46 +0000









Hi Daniel,
 
using ant 1.7.0 is working for our settings fine.
 
Kind regards
 
Michael Habbert
 
See: http://webtest-community.canoo.com/jira/browse/WT-519
 


 

 

Michael Habbert 

Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | 
www.key-work.de

Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: 
+49-721-78203-10


 

Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim

Geschäftsführer: Andreas Stappert, Tobin Wotring 


Von: [email protected] [mailto:[email protected]]
Im Auftrag von Daniel Suter

Gesendet: Donnerstag, 9. August 2012 15:03

An: [email protected]

Betreff: [Webtest] Losing properties from ant to webtest


 


Hi



We're using Webtest R_1812. We're losing properties from ant to webtest. 

After googling some time, I found that this issue might be related to the ant 
version. It should work with ant 1.71 but it does not. I tried also with 1.84



An example:



<project name="project name" basedir="." default="defaultTask">

...

    <target name="defaultTask">

        <echo message="property: ${invoke.url}" />

        <webtest name="Test something">



            <steps>

                <echo message="property 2: ${invoke.url}" />

...               

(some tests)

                ...

            </steps>    

        </webtest>

    </target>



...





The first echo will print the property content successfully.

The second echo prints the property name itself, which means, it's not set 
anymore.

So we're losing the property content from ant to webtest as it seems.



Thanks in advance for your help.


                                          

Reply via email to