com.canoo.webtest.steps.form
Class SelectForm
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.steps.form.SelectForm
- All Implemented Interfaces:
- Serializable, Cloneable
public final class SelectForm
- extends Step
Provides the ability to select a form as the current form for setting fields in this form
in subsequent steps.
- Author:
- Marc Guillemot
- See Also:
- Serialized Form
| 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 |
SelectForm
public SelectForm()
doExecute
public void doExecute()
throws Exception
- Select a form as the current one.
- Specified by:
doExecute in class Step
- Throws:
StepExecutionException - if no form is found
Exception
setIndex
public void setIndex(String index)
- Set the index.
- Parameters:
index -
getIndex
public String getIndex()
setName
public void setName(String name)
- Set the name.
- Parameters:
name -
getName
public String getName()
verifyParameters
protected void verifyParameters()
- Description copied from class:
Step
- Called to let the step's implementation validate its parameters.
The method is called after parameter extensions but before
Step.doExecute().
This implementation does nothing, overwrite as needed.
- Overrides:
verifyParameters in class Step
addText
public void addText(String text)
- Called by Ant to set the text nested between opening and closing tags.
- Parameters:
text - the text to set