com.meterware.httpunit
public class Button extends FormControl
Field Summary | |
---|---|
static HTMLElementPredicate | WITH_ID |
static HTMLElementPredicate | WITH_LABEL |
Method Summary | |
---|---|
void | click()
Performs the action associated with clicking this button after running any 'onClick' script.
|
protected void | doButtonAction()
Perform the normal action of this button. |
protected boolean | doOnClickEvent()
Does the 'onClick' event defined for this button. |
protected ScriptableDelegate | getParentDelegate() |
String | getType() |
String | getValue()
Returns the value associated with this button.
|
boolean | isDisabled()
Returns true if this button is disabled, meaning that it cannot be clicked.
|
protected ScriptableDelegate | newScriptable() |
protected void | verifyButtonEnabled() |
Returns: true if subsequent actions should be performed.