Hi Peter, why do you have a PUT in your html code? As far as I know, only GET and POST are allowed in forms (http://www.w3.org/TR/html4/interact/forms.html#h-17.3).
Seems that the error here is that HtmlUnit should default to GET when something unrecognized is specified. At least this is what my Firefox does when it encounters a PUT. Marc. -- Blog: http://mguillem.wordpress.com Dierk Koenig wrote: > I'm gonna cross-post this to the webtest mailing-list. > > dierk > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of >> Peter Ledbrook >> Sent: Freitag, 31. August 2007 15:01 >> To: [EMAIL PROTECTED] >> Subject: [grails-user] Another WebTest question >> >> >> Hi, >> >> I'm getting this error from a 'clickButton' step: >> >> [67313] steps.Step Cannot handle unexpected exception in step >> ClickButton at : with (taskName="clickButton") >> java.lang.IllegalArgumentException: No method found for [put] >> at >> com.gargoylesoftware.htmlunit.SubmitMethod.getInstance(SubmitMetho >> d.java:100) >> at >> com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:196) >> at >> com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(H >> tmlSubmitInput.java:112) >> >> HTMLUnit doesn't seem to support the 'PUT' method - is there any >> solution other than to use 'POST' for the form instead? >> >> Thanks, >> >> Peter >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

