- setValue
Simulates filling in a field on a Form.
- submit
A convenience method for submitting the Form with an alternate button. Note that
if the button is as
- select
Simulates selecting an option of a FormComponent. SupportsRadioGroup, CheckGroup
, and AbstractChoic
- getForm
Retrieves the current Form object.
- <init>
- checkClosed
FormTester must only be used once. Create a new instance ofFormTester for each
test.
- parameterExist
Returns true if the parameter exists in the FormComponent.
- selectMultiple
A convenience method to select multiple options for the FormComponent. The
method only support multi
- setFormComponentValue
Set formComponent's value into request parameter, this method overwrites
existing parameters.
- setFormSubmittingComponentValue
Set component's value into request parameter, this method overwrites existing
parameters.
- getTextComponentValue
Gets the value for an AbstractTextComponent with the provided id.
- isMultiPart