[Webtest] Custom Step StoreEncodedXPath added to the community site

Paul King webtest@lists.canoo.com
Sat, 07 Aug 2004 19:57:58 +1000


 From the description:

This custom step provides the same functionality as StoreXPath but 
URLEncodes the result of the XPath expression before storing it. This is 
useful if you are doing further processing with the stored XPath result 
in situations where lack of encoding (e.g. URLs containing spaces) may 
break subsequent usage. It helps mimic what most browsers are likely to 
do if given a URL.

This would be a good candidate to merge into the main distribution but I 
haven't had time to look into the details of writing the necessary 
tests. The same 'enc' attribute would also be useful for storeregex.

Cheers, Paul.