public final class StepAnnotations
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
injectAnnotatedPagesObjectInto(java.lang.Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver.
|
void |
injectOptionalAnnotatedPagesObjectInto(java.lang.Object testCase,
Pages pages)
Instantiates the @ManagedPages-annotated Pages instance using current WebDriver, if the field is present.
|
static StepAnnotations |
injector() |
void |
injectScenarioStepsInto(java.lang.Object testCase,
StepFactory stepFactory)
Instantiates the step scenario fields in a test case.
|
public static StepAnnotations injector()
public void injectScenarioStepsInto(java.lang.Object testCase, StepFactory stepFactory)
public void injectAnnotatedPagesObjectInto(java.lang.Object testCase, Pages pages)
public void injectOptionalAnnotatedPagesObjectInto(java.lang.Object testCase, Pages pages)