[Webtest] Click Problem
Marc Guillemot
webtest@lists.canoo.com
Thu, 09 Jun 2005 13:07:22 +0200
Why don't you use
<clickLink htmlId="nav15" stepid="dome"/>
and if you use 1.6, many of the features are not available there.
Marc.
Dominik Dary wrote:
> Hi List,
>
> i am testing an java server faces application. in the source file a link
> looks loke this:
>
> <a href="#"
> onclick="clear_linkDummyForm();document.forms['linkDummyForm'].elements
> ['autoScroll'].value=getScrolling();document.forms['linkDummyForm'].elements
>
> ['linkDummyForm:_link_hidden_'].value='nav_15';if(document.forms['linkDummyForm'].
>
> onsubmit){document.forms['linkDummyForm'].onsubmit();}document.forms['linkDummyForm'].
>
> submit();return false;" id="nav_15">Error Controlling</a>
>
> in my testcase i tested this step, but it doesn't work:
> clicklink label="Error Controlling"/>
>
> this could be possible, because javascript is used.
>
> then i tryed the following:
> <click xPath="" htmlId="nav15" stepid="dome"/>
>
> but on the command line, while running the ant task, i got the following
> error:
> file:/daten/workspace/antTestManager/build.xml:599: Task must be of type
> "Step": click at is of type com.canoo.webtest.steps.request.Click
>
> has someone an idea?
>
> thanks Dome
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>