public class Iterate extends AbstractIteratingActionContainer
BooleanExpressionParser for supported boolean expressions that define
the conditioning.
Each loop an index variable is incremented. The index variable is accessible inside the nested
test actions as normal test variable. Iteration starts with index=1 and increments with a
default step=1.condition, conditionExpression, index, indexName, startactionsdescription| Constructor and Description |
|---|
Iterate()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeIteration(TestContext context)
Execute embedded actions in loop.
|
int |
getStep()
Gets the step.
|
void |
setStep(int step)
Step o increment.
|
checkCondition, doExecute, executeActions, getCondition, getConditionExpression, getIndex, getIndexName, getStart, setCondition, setConditionExpression, setIndex, setIndexName, setStartaddTestAction, getActionCount, getActionIndex, getActions, getLastExecutedAction, getTestAction, setActions, setLastExecutedActionexecute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getActor, getDescription, getName, isDisabled, setDescription, setNamepublic void executeIteration(TestContext context)
AbstractIteratingActionContainerexecuteIteration in class AbstractIteratingActionContainercontext - TestContext holding variable information.CitrusRuntimeExceptionAbstractIteratingActionContainer.executeIteration(com.consol.citrus.context.TestContext)public void setStep(int step)
step - the step to setpublic int getStep()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.