Package | Description |
---|---|
com.meterware.httpunit |
Classes for testing http server systems.
|
Modifier and Type | Method and Description |
---|---|
SubmitButton |
WebForm.getSubmitButton(String name)
Returns the submit button defined in this form with the specified name.
|
SubmitButton |
WebForm.getSubmitButton(String name,
String value)
Returns the submit button defined in this form with the specified name and value.
|
SubmitButton[] |
WebForm.getSubmitButtons()
Returns an array containing the submit buttons defined for this form.
|
SubmitButton |
WebForm.getSubmitButtonWithID(String ID)
Returns the submit button defined in this form with the specified ID.
|
Modifier and Type | Method and Description |
---|---|
WebRequest |
WebForm.getRequest(SubmitButton button)
Creates and returns a web request which will simulate the submission of this form by pressing the specified button.
|
WebRequest |
WebForm.getRequest(SubmitButton button,
int x,
int y)
Creates and returns a web request which will simulate the submission of this form by pressing the specified button.
|
WebRequest |
WebForm.newUnvalidatedRequest(SubmitButton button)
Creates and returns a web request which includes the specified button.
|
WebRequest |
WebForm.newUnvalidatedRequest(SubmitButton button,
int x,
int y)
Creates and returns a web request which includes the specified button and position.
|
WebResponse |
WebForm.submit(SubmitButton button)
Submits this form using the web client from which it was originally obtained.
|
WebResponse |
WebForm.submit(SubmitButton button,
int x,
int y)
Submits this form using the web client from which it was originally obtained.
|
Constructor and Description |
---|
MessageBodyWebRequest(WebForm sourceForm,
com.meterware.httpunit.ParameterHolder parameterHolder,
SubmitButton button,
int x,
int y)
Constructs a web request for a form submitted via a button.
|
WebRequest(WebForm sourceForm,
com.meterware.httpunit.ParameterHolder parameterHolder,
SubmitButton button,
int x,
int y)
Constructs a web request from a form.
|
Copyright © 2012. All Rights Reserved.