[Webtest] Extension question

Ferguson, Steve (DIS) webtest@lists.canoo.com
Wed, 23 Jul 2003 08:58:52 -0700


Great! I see how to get a link into an xpath variable. How would I convert
the url in this variable from say https://aaa.com to http://bbb.com ? Any
hints? Thanks. 

Steve


-----Original Message-----
From: Dierk Koenig [mailto:dierk.koenig@canoo.com]
Sent: Wednesday, July 23, 2003 1:13 AM
To: webtest@lists.canoo.com
Subject: RE: [Webtest] Extension question


Hi Steve,

you can use <storeregex/> or <storexpath/> to extract your url into
a dynamic property.
You can use this property in a trailing <invoke/> to connect to your page.

cheers
Mittie

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Ferguson, Steve (DIS)
> Sent: Mittwoch, 23. Juli 2003 0:41
> To: 'webtest@lists.canoo.com'
> Subject: [Webtest] Extension question
> 
> 
> Hi all, 
> 
>    I am interested in being able to convert or map the URL to which a
> clicklink will send a request. Is this possible? If so how? So if I had a
> page like : 
> 
> ...
> 	<A href="https://someserver.com/somelink.html">thelink</A>
> ... 
> 
> 	and I wanted to map that link via clicklink to
> http://someotherserver.com/somelink.html how might I accomplish this? 
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest