public final class StepAnnotations extends Object
Modifier and Type | Method and Description |
---|---|
static void |
injectAnnotatedPagesObjectInto(Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.
|
static void |
injectNestedScenarioStepsInto(Object scenarioSteps,
StepFactory stepFactory,
Class<?> scenarioStepsClass)
Instantiates the step scenario fields in a test case.
|
static void |
injectOptionalAnnotatedPagesObjectInto(Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver, if the field is present.
|
static void |
injectScenarioStepsInto(Object testCase,
StepFactory stepFactory)
Instantiates the step scenario fields in a test case.
|
public static void injectScenarioStepsInto(Object testCase, StepFactory stepFactory)
public static void injectNestedScenarioStepsInto(Object scenarioSteps, StepFactory stepFactory, Class<?> scenarioStepsClass)
public static void injectAnnotatedPagesObjectInto(Object testCase, Pages pages)
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.