Thanks for the response. 
Unfortunately it doesn't work...

I also tried making a config step, like

<config 
                            host="myhost.it"
                                protocol="http" >

and invoking 

<invoke url="#{myurl}" description="anteprima documento" />

where myurl is 
"/preview/index?id=058a3967-632c-46e8-b536-3efac3cc8d31&highlight=Ryanair,Ryanair&iframe"

in the test report I read:

-> complete url http://myhost.it/#{myurl}
url     
/preview/index?id=058a3967-632c-46e8-b536-3efac3cc8d31&highlight=Ryanair,Ryanair&iframe

but in the logs I see always:

INFO (com.canoo.webtest.steps.request.TargetHelper) - getting response for url: 
http://myhost.it/#{myurl}

without parsing (it seems).

Exactly the same with:
<invoke url="&#35;{myurl}" description="anteprima documento" />



I don't know what else to do ...


Thanks
Enrico




On Sep 2, 2011, at 6:26 PM, Josep García wrote:

> Try:
> 
> <invoke url="${mybaseurl}&#35;{myurl}"
>                                description="call preview" />
> 
> as #{myurl} is expanded as a variable.
> 
> Cheers,
> Josep
> 
> 2011/9/2 Enrico Donelli <[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
> 
> 
> 
> -- 
> 
> Josep García Corral 
> Ingeniero de Software
> isigma, la referencia en firma electrónica
> Tel. +34 93 519 13 75
> www.isigma.es 
> 
>  
> ¡Prueba gratis la firma online! 

---
Enrico Donelli
[email protected]




Reply via email to