Hi, Enrico, are you using ANT 1.8 or higher? Expansion for webtest properties does not work with ANT 1.8, try using ANT 1.7. Greetz Carsten
Von: [email protected] [mailto:[email protected]] Im Auftrag von Enrico Donelli Gesendet: Montag, 5. September 2011 12:35 An: [email protected] Betreff: Re: [Webtest] problem with urlInvoke Thanks for the response. Unfortunately it doesn't work... I also tried making a config step, like <config host="myhost.it<http://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="#{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}#{myurl}" description="call preview" /> as #{myurl} is expanded as a variable. Cheers, Josep 2011/9/2 Enrico Donelli <[email protected]<mailto:[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]<mailto:[email protected]> http://lists.canoo.com/mailman/listinfo/webtest -- [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<http://www.isigma.es/> [logotipo portasigma] ¡Prueba gratis la firma online! <http://www.portasigma.com/> --- Enrico Donelli [email protected]<mailto:[email protected]>

