com.canoo.webtest.steps
Class AbstractStepContainer
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.steps.AbstractStepContainer
- All Implemented Interfaces:
- IStepSequence, Serializable, Cloneable, TaskContainer
- Direct Known Subclasses:
- AbstractProcessFiltersStep, ExpectDialogs, GroupStep, IfStep, MultipleExecutionStepContainer, NotStep, ReportSiteStep, SelectWebClient, TestStepSequence, TimedGroupStep
public abstract class AbstractStepContainer
- extends Step
- implements TaskContainer, IStepSequence, Serializable, Cloneable
Common abstract base class for all container steps.
This is a container class for a list of AbstractTestSpecificationSteps. It is used for
the <steps> element in ant build scripts as well as for the
<not> test step elements.
An instance of this class is usually created by ant if it encounters the nested
<steps> element within a <webtest> element.
Note: The nested element object ClickButton is instantiated and "added" to the
AbstractStepSequence before the nested element is completely parsed! No attributes
or nested elements of the <clickButton> elements are available at time
when it is added to AbstractStepSequence.
- Author:
- Carsten Seibert, Marc Guillemot
- See Also:
- Serialized Form
| Methods inherited from class com.canoo.webtest.steps.Step |
addComputedParameters, clone, doExecute, 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, verifyParameters |
| 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 |
AbstractStepContainer
protected AbstractStepContainer()
addTask
public void addTask(Task newTask)
- Called by ant to add a nested task to this container.
- Specified by:
addTask in interface TaskContainer
- See Also:
TaskContainer.addTask(org.apache.tools.ant.Task)
addStep
public void addStep(Step step)
- Parameters:
step -
getSteps
public List getSteps()
- Specified by:
getSteps in interface IStepSequence
executeContainedStep
protected void executeContainedStep(Task step)
- Executes the contained step taking care to setup needed properties before execution
- Parameters:
step - the step to execute
executeContainedSteps
protected void executeContainedSteps()
- Executes the contained steps