Ajax button and multipart/form-data

Parkin Roman <roman.parkin-OMMRU2n2zWEqDJ6do+/[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Organization Texuna Technologies Ltd
Message-ID <[email protected]>
Hi all,

I have problem with AjaxButton on multipart forms

See example page -
http://www.wicket-library.com/wicket-examples/ajax/upload

I use htmlunit 2.10, easyAjax = true

<invoke
url="http://www.wicket-library.com/wicket-examples/ajax/upload?" />

<clickButton label="Ajax Submit"/>

<verifyText text="This request was processed using AJAX"/>

I try to click "Ajax Submit" - button is clicked but empty page is
returned for FF3.6 in webtest config

JavaScript error is shown for IE8 in webtest config:

TypeError: Cannot call method "removeChild" of null
( http://www.wicket-library.com/wicket-examples/ajax/wicket/resource/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax-ver-EE9CA4F0AAB28E94F63408F7494C6EEC.js#896 )

How I can click AjaxButtons with multipart sumbit? Or webtest /
htmlunit cannot work correctly with such buttons? Any "hacks" to
work with AjaxButton in multipart form?

--

Best regards,

Roman Parkin

Testing Team Lead

Texuna Technologies Ltd

This email is confidential and may also be privileged. If you
are not the intended recipient please notify us immediately and
delete this message from your system.

Help us to be environmentally responsible. Please do not print
this email unless you need to.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.