com.canoo.webtest.steps.form
Class AbstractSetNamedFieldStep
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.steps.AbstractBrowserAction
com.canoo.webtest.steps.form.AbstractSetFieldStep
com.canoo.webtest.steps.form.AbstractSetNamedFieldStep
- All Implemented Interfaces:
- IBrowserAction, Serializable, Cloneable
- Direct Known Subclasses:
- ForceHiddenInputField, ForceInputFieldAttribute, SetCheckbox, SetInputField, SetRadioButton, SetSelectField
public abstract class AbstractSetNamedFieldStep
- extends AbstractSetFieldStep
Base class for steps which update a named field within a form.
- Author:
- Marc Guillemot, Paul King
- See Also:
- Serialized Form
| Methods inherited from class com.canoo.webtest.steps.form.AbstractSetFieldStep |
doExecute, findFields, findForm, getFieldIndex, getForLabel, getFormName, getHtmlId, getName, getXpath, keepField, selectField, setField, setFieldIndex, setForLabel, setFormName, setHtmlId, setName, setXpath, trimFields, verifyParameters |
| Methods inherited from class com.canoo.webtest.steps.Step |
addComputedParameters, clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isPerformingAction, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toString |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
DEFAULT_VALUE_NULL_MESSAGE
protected static final String DEFAULT_VALUE_NULL_MESSAGE
- See Also:
- Constant Field Values
AbstractSetNamedFieldStep
public AbstractSetNamedFieldStep()
setValue
public void setValue(String value)
- Set the value
- Parameters:
value -
getValue
public String getValue()
isValueNull
protected boolean isValueNull()
addText
public void addText(String str)
- Called by ant to set the text contained in the tag.
An alternative to value="blabla" for e.g. Large TextAreas. Usage:
<setInputField>blabla
blibli
</setInputField>
- Parameters:
str - the text value to add