6 messages in com.canoo.lists.webtestRE: [Webtest] Extension question
FromSent OnAttachments
Ferguson, Steve (DIS)22 Jul 2003 15:40 
Dierk Koenig23 Jul 2003 01:12 
Ferguson, Steve (DIS)23 Jul 2003 08:58 
Dierk Koenig24 Jul 2003 01:26 
Ferguson, Steve (DIS)24 Jul 2003 07:38 
Dierk Koenig24 Jul 2003 07:57 
Subject:RE: [Webtest] Extension question
From:Ferguson, Steve (DIS) (Stev@DIS.WA.GOV)
Date:07/24/2003 07:38:10 AM
List:com.canoo.lists.webtest

Thanks for that. Is there any way, once I build this converted URL, that I can use clicklink, or am I relegated to using invoke at this point?

Thanks!

Steve

-----Original Message----- From: Dierk Koenig [mailto:dier@canoo.com] Sent: Thursday, July 24, 2003 1:27 AM To: webt@lists.canoo.com Subject: RE: [Webtest] Extension question

with regex, you can cut out starting from the dot.

with xpath, you can use the xpath substring/index functions (or even "translate(a,b)" in this case :-)) You can lookup the possible xpath functions with the links provided on the webtest site. You will also find a link to the xpath explorer. This is also worth a try.

cheers Mittie

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Ferguson, Steve (DIS) Sent: Mittwoch, 23. Juli 2003 17:59 To: 'webt@lists.canoo.com' Subject: RE: [Webtest] Extension question

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.

-----Original Message----- From: Dierk Koenig [mailto:dier@canoo.com] Sent: Wednesday, July 23, 2003 1:13 AM To: webt@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: webt@lists.canoo.com [mailto:webt@lists.canoo.com]On Behalf Of Ferguson, Steve (DIS) Sent: Mittwoch, 23. Juli 2003 0:41 To: 'webt@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?