[Webtest] extract target location from a javasdript command

Richard Raue webtest@lists.canoo.com
Fri, 5 Sep 2003 09:35:31 +0200


Hi,

with:

    <storeregex
            stepid="Extract target location from javascript command"
            text="onClick='submitForm_NextSelection\(\)'"
            group="0"
            property="regex-test"/>

I extracted the following part out of a javascript command:

        onClick='submitForm_NextSelection()'

so here's my question: How can I invoke the target page with that property?
I allready tried the example, given in the syntax reference on

http://webtest.canoo.com/webtest/manual/syntax.html

that is (in my case):

    <invoke
            stepid="Getting next page..."
            url="#{regex-test}"/>

But ANT just add this url-expression to the host-url [means: http://..
../onClick='submitForm_NextSelection()]

What did I wrong?

many greetings,
Richard