[Webtest] InvokeRelative custom step added to community site
Tue, 10 Aug 2004 17:14:12 +1000
I have added an invokeRelative custom step to the community site.
From the description:
This custom step provides the same functionality as invoke but will be
relative to the last request rather than the basepath. This is useful
when extracting request-relative URL targets from the page (e.g. actions
from forms or relative href links) and you are not on the basepath page.
Ideally, I would like this functionality to be added to the
distribution's InvokePage step perhaps using an extra attribute:
<invoke url="..." relativeTo="request"/>
with relativeTo being optional with a default of "basepath".
Anyway, here it is for people to comment on in the meantime.