AW: [Webtest] Losing properties from ant to webtest

Habbert, Michael (Key-Work) Habbert, Michael (Key-Work)" <michael.habbert@key-work.de
Mon, 13 Aug 2012 05:37:46 +0000


--_000_020D1069F2FDF64A9D99558C22CA93A20897ECex3_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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: michael.habbert@key-work.de<mailto:michael=
.habbert@key-work.de> | Fax: +49-721-78203-10

Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Gesch?ftsf?hrer: Andreas Stappert, Tobin Wotring
Von: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com] I=
m Auftrag von Daniel Suter
Gesendet: Donnerstag, 9. August 2012 15:03
An: webtest@lists.canoo.com
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 a=
nt version. It should work with ant 1.71 but it does not. I tried also with=
 1.84

An example:

<project name=3D"project name" basedir=3D"." default=3D"defaultTask">
...
    <target name=3D"defaultTask">
        <echo message=3D"property: ${invoke.url}" />
        <webtest name=3D"Test something">

            <steps>
                <echo message=3D"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.

--_000_020D1069F2FDF64A9D99558C22CA93A20897ECex3_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.E-MailFormatvorlage18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DE" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Daniel,<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">using ant 1.7.0 is workin=
g for our settings fine.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Kind regards<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Michael Habbert<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">See: http://webtest-commu=
nity.canoo.com/jira/browse/WT-519<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div class=3D"Section1">
<p class=3D"MsoNormal"><span style=3D"font-family:Calibri,Arial,Sans-Serif;=
color:#000080">&nbsp;<br>
&nbsp;<br>
<strong>Michael Habbert</strong> <br>
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | <a =
href=3D"http://www.key-work.de" title=3D"Key-Work Consulting GmbH" target=
=3D"_blank">
www.key-work.de</a><br>
Fon: &#43;49-721-78203-269 | E-Mail: <a href=3D"mailto:michael.habbert@key-=
work.de">michael.habbert@key-work.de</a> | Fax: &#43;49-721-78203-10
<br>
&nbsp;<br>
Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim<br>
Gesch&auml;ftsf&uuml;hrer: Andreas Stappert, Tobin Wotring </span><o:p></o:=
p></p>
</div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">Von:</span></b><span style=3D"font-si=
ze:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> webtest-a=
dmin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]
<b>Im Auftrag von </b>Daniel Suter<br>
<b>Gesendet:</b> Donnerstag, 9. August 2012 15:03<br>
<b>An:</b> webtest@lists.canoo.com<br>
<b>Betreff:</b> [Webtest] Losing properties from ant to webtest<o:p></o:p><=
/span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">Hi<br>
<br>
We're using Webtest R_1812. We're losing properties from ant to webtest. <b=
r>
After googling some time, I found that this issue might be related to the a=
nt version. It should work with ant 1.71 but it does not. I tried also with=
 1.84<br>
<br>
An example:<br>
<br>
&lt;project name=3D&quot;project name&quot; basedir=3D&quot;.&quot; default=
=3D&quot;defaultTask&quot;&gt;<br>
...<br>
&nbsp;&nbsp;&nbsp; &lt;target name=3D&quot;defaultTask&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;echo message=3D&quot;property: ${=
invoke.url}&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;webtest name=3D&quot;Test somethi=
ng&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;step=
s&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=
 &lt;echo message=3D&quot;property 2: ${invoke.url}&quot; /&gt;<br>
... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; <br>
(some tests)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; ...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ste=
ps&gt;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/webtest&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/target&gt;<br>
<br>
...<br>
<br>
<br>
The first echo will print the property content successfully.<br>
The second echo prints the property name itself, which means, it's not set =
anymore.<br>
So we're losing the property content from ant to webtest as it seems.<br>
<br>
Thanks in advance for your help.<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_020D1069F2FDF64A9D99558C22CA93A20897ECex3_--