Re: problem with urlInvoke

Josep García <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <CAF2hc=oCnJ5zn0sQA+FOudg0Z+tS5tAxBHTfCgempbyOzUvASw@mail.gmail.com>
Try:

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

as #{myurl} is expanded as a variable.

Cheers,
Josep

2011/9/2 Enrico Donelli <e.donelli-WZ+teLO/[email protected]>

> 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="Extract link"
>                                    xpath="//a[@title='Ryanair.com']/@href"
>                                    property="myurl" />
>
>                        <invoke url="${mybaseurl}#{myurl}"
>                                description="call preview" />
>
> the problem is that, even if in test report I see the correct url, the url
> called doesn't have the #{myurl} part: it seems that the url invoked is only
> ${mybaseurl}
>
> Am I doing anything wrong?
> I'm using the latest snapshot.
>
> Thanks in advance
> Enrico
>
>
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>



-- 
[image: isotipo isigma]
 Josep García Corral
Ingeniero de Software
  isigma, la referencia en firma electrónica
Tel. +34 93 519 13 75
www.isigma.es

 [image: logotipo portasigma]
¡Prueba gratis la firma online! <http://www.portasigma.com/>
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.