From: Vinay M. <vin...@gm...> - 2005-05-28 16:56:40
|
HtmlForm's getParameterListForSubmit will give you a list of key-value(com.gargoylesoftware.htmlunit.KeyValuePair) pairs that you can use to see the values as they go to your server. You could do this before you submit the form. - Vinay On 5/28/05, htm...@li... <htm...@li...> wrote: > Send Htmlunit-user mailing list submissions to > htm...@li... >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > or, via email, send a message with subject or body 'help' to > htm...@li... >=20 > You can reach the person managing the list at > htm...@li... >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Htmlunit-user digest..." >=20 >=20 > Today's Topics: >=20 > 1. fake Submit of a form (a pinkelefant) >=20 > --__--__-- >=20 > Message: 1 > Date: Fri, 27 May 2005 16:34:47 -0400 > From: a pinkelefant <api...@gm...> > To: htm...@li... > Subject: [Htmlunit-user] fake Submit of a form > Reply-To: htm...@li... >=20 > Hi all , >=20 > I am using the latest 1.6 version of HtmlUnit. > Is there a way to "fake" submit a form ?=3D20 > I have a HtmlForm and I have populated all the fields with some values=3D= 20 > ( checkboxes,textareas,selects etc ) . Before I submit the form to the > actual server I want to verify if the right values have been enterted > in the right fields. >=20 > Is there a way i can see this completed form ?? I did a form.asXml() > but that did not > print out the filled in values. Can I fake Submit this and see the values= ? >=20 > thanks > Pat >=20 >=20 >=20 > --__--__-- >=20 > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user >=20 >=20 > End of Htmlunit-user Digest > |