ForEachWebElement

class ForEachWebElement(doStep: String, element: String, selectorType: SelectorType, lookupExpr: String, relative: Option[(RelativeSelectorType, String, Option[Int])], timeout: Option[Duration], engine: EvalEngine[WebContext]) extends ForEach[WebContext]
class ForEach[WebContext]
class CompositeStep[WebContext]
class StepLambda[WebContext, Step]
trait LazyLogging
trait BehaviorRules
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(parent: GwenNode, step: Step, ctx: WebContext): Step

The operation to apply.

The operation to apply.

Value parameters:
ctx

the evaluation context

parent

the calling node

step

the step to apply the operation to

Definition Classes
StepLambda

Inherited methods

def checkBackgroundRules(background: Background, specType: SpecType): Unit

Checks that a background satisfies behavior rules before evaluation.

Checks that a background satisfies behavior rules before evaluation.

Value parameters:
background

the background to check

specType

the spec type currently being evaluated

Inherited from:
BehaviorRules
def checkScenarioRules(scenario: Scenario, specType: SpecType): Unit

Checks that a scenario or stepdef satisfies behavior rules before evaluation.

Checks that a scenario or stepdef satisfies behavior rules before evaluation.

Value parameters:
scenario

the scenario to check

specType

the spec type currently being evaluated

Inherited from:
BehaviorRules
def checkStepDefRules(step: Step, env: Environment): Unit

Checks that a step def called in a feature satisfies behavoiur rules at evaluation.

Checks that a step def called in a feature satisfies behavoiur rules at evaluation.

Value parameters:
env

the environment context

step

the step to check

Inherited from:
BehaviorRules
def checkStepRules(step: Step, actualBehavior: BehaviorType, env: Environment): Unit

Checks that a step called in a feature satisfies behavoiur rules at evaluation.

Checks that a step called in a feature satisfies behavoiur rules at evaluation.

Value parameters:
actualBehavior

the actual behavior type of the step

env

the environment context

step

the step to check

Inherited from:
BehaviorRules
def evaluateForEach[U](itemList: () => Seq[U], name: String, parent: GwenNode, step: Step, ctx: WebContext): Step

Repeats a step for each item in list of items of type U.

Repeats a step for each item in list of items of type U.

Inherited from:
ForEach

Inherited fields

lazy protected val logger: Logger
Inherited from:
LazyLogging