RE: Ajax button and multipart/form-data
Marlon Palo <[email protected]>
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <[email protected]> |
Hi,
try this
<invoke url="http://www.wicket-library.com/wicket-examples/ajax/upload?"/><clickElement xpath="id('id3')"/><previousResponse/><verifyText text="This request was processed using AJAX"/>
Just add the "previousResponse" tag.
Thanks,MarlonFrom: roman.parkin-OMMRU2n2zWEqDJ6do+/[email protected]
To: [email protected]
Subject: [Webtest] Ajax button and multipart/form-data
Date: Fri, 14 Sep 2012 13:18:30 +0400
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.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest