AW: Losing properties from ant to webtest

"Habbert, Michael (Key-Work)" <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <020D1069F2FDF64A9D99558C22CA93A20897EC@ex3>
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<http://www.key-work.de>
Fon: +49-721-78203-269 | E-Mail: [email protected]<mailto:[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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.