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