Hi folks,
in my Jsf Application I have a button for form submission. When canoo
press this button it dont wait for the response or follow redirect.
So I try to use the ant <sleep> tag to wait for it.
In the debug loglevel canoo print out much actions from the incoming
redirect-response.
The server react with a HTTP redirect.
Is it possible that canoo take to much time for reading the
post-response or close the step (clickLink) after the post-response
without doing the redirect?
Perhaps an configuration option for canoo, htmlunit?
Here the script code:
Button HTML
<input id="search" class="Button" type="button" value="Search"
onclick="blockForm();;A4J.AJAX.Submit('_viewRoot','formname',event,{'par
ameters':{'search':'search'} ,'actionUrl':'/servlet/suche.jsf'} );return
false;" name="search"/>
<clickButton label="Search" />
<!-- Ant Sleep to wait on Redirect Response -->
<!-- sleep seconds="2"/-->
<not>
<verifyXPath description="Error happens?"
xpath="//[EMAIL PROTECTED]'errorClass']/td" />
</not>
verifyXPath result in error without the sleep tag.
Thank you for help,
DaWorm