[Webtest] problem with urlInvoke

Josep García Josep García
Fri, 2 Sep 2011 18:26:41 +0200

Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


<invoke url=3D"${mybaseurl}&#35;{myurl}"
                               description=3D"call preview" />

as #{myurl} is expanded as a variable.


2011/9/2 Enrico Donelli <e.donelli@myti.it>

> Hi all,
> I'm new to Canoo, and I'm stuck to a problem with urlInvoke
> I use storeXPath to store a url, and I make something like
>                        <storeXPath description=3D"Extract link"
>                                    xpath=3D"//a[@title=3D'Ryanair.com']/@=
>                                    property=3D"myurl" />
>                        <invoke url=3D"${mybaseurl}#{myurl}"
>                                description=3D"call preview" />
> the problem is that, even if in test report I see the correct url, the ur=
> called doesn't have the #{myurl} part: it seems that the url invoked is o=
> ${mybaseurl}
> Am I doing anything wrong?
> I'm using the latest snapshot.
> Thanks in advance
> Enrico
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest

[image: isotipo isigma]
 Josep Garc=EDa Corral
Ingeniero de Software
  isigma, la referencia en firma electr=F3nica
Tel. +34 93 519 13 75

 [image: logotipo portasigma]
=A1Prueba gratis la firma online! <http://www.portasigma.com/>

Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Try:<br><br>&lt;invoke url=3D&quot;${mybaseurl}&amp;#35;{myurl}&quot;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0description=
=3D&quot;call preview&quot; /&gt;<br><br>as #{myurl} is expanded as a varia=
ble.<br><br>Cheers,<br>Josep<br><br><div style=3D"margin: 0pt;" name=3D"sig=
_d41d8cd98f"></div><div class=3D"gmail_quote">
2011/9/2 Enrico Donelli <span dir=3D"ltr">&lt;<a href=3D"mailto:e.donelli@m=
yti.it">e.donelli@myti.it</a>&gt;</span><br><blockquote class=3D"gmail_quot=
e" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204,=
 204); padding-left: 1ex;">
Hi all,<br>
I&#39;m new to Canoo, and I&#39;m stuck to a problem with urlInvoke<br>
I use storeXPath to store a url, and I make something like<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;storeXPath description=
=3D&quot;Extract link&quot;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0xpa=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0pro=
perty=3D&quot;myurl&quot; /&gt;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&lt;invoke url=3D&quot;${my=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0description=
=3D&quot;call preview&quot; /&gt;<br>
the problem is that, even if in test report I see the correct url, the url =
called doesn&#39;t have the #{myurl} part: it seems that the url invoked is=
 only ${mybaseurl}<br>
Am I doing anything wrong?<br>
I&#39;m using the latest snapshot.<br>
Thanks in advance<br>
WebTest mailing list<br>
<a href=3D"mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a><br>
<a href=3D"http://lists.canoo.com/mailman/listinfo/webtest" target=3D"_blan=
</blockquote></div><br><br clear=3D"all"><br>-- <br><table style=3D"text-al=
ign: left; width: 100%; min-height: 72px; background-color: rgb(239, 239, 2=
39);" border=3D"0" cellpadding=3D"2" cellspacing=3D"2"><tbody><tr><td style=
=3D"vertical-align: top; width: 19px;">
<img style=3D"width: 26px; min-height: 32px;" alt=3D"isotipo isigma" src=3D=
      <td style=3D"vertical-align: top; font-family: Trebuchet MS,sans-seri=
f; font-size: 8pt; width: 1190px;"><font style=3D"font-size: 10pt; font-wei=
ght: bold;">Josep Garc=EDa Corral</font>
      <br>Ingeniero de Software<br>
      <td colspan=3D"2" rowspan=3D"1" style=3D"vertical-align: top; font-fa=
mily: Trebuchet MS,sans-serif; font-size: 8pt;">isigma, la referencia en fi=
rma electr=F3nica<br>
Tel. +34 93<font style=3D"color: rgb(0, 0, 0);" color=3D"#888888"> 519 13 7=
      <a href=3D"http://www.isigma.es/" target=3D"_blank">www.isigma.es</a>=
<a href=3D"http://www.portasigma.com/" style=3D"vertical-align: top; font-f=
amily: Trebuchet MS,sans-serif;" target=3D"_blank">
<img src=3D"http://www.portasigma.com/images/stories/logo-portasigma-mini.p=
ng" alt=3D"logotipo portasigma"><br>
=A1Prueba gratis la firma online!