public abstract class BasePage extends Page
| Modifier and Type | Field and Description |
|---|---|
static String |
ANALYTICS_CATEGORY_NAME |
TEST_EXECUTION_OBSERVER| Constructor and Description |
|---|
BasePage() |
| Modifier and Type | Method and Description |
|---|---|
static IAnalytics |
getAnalytics() |
static INewMobileDriver |
getDriver() |
ModuleType |
getModuleType() |
byte[] |
makeScreenshotOnFailure() |
String |
makeSourcePageOnFailure() |
void |
onSetupFailure() |
void |
onTeardownFailure() |
void |
onTestClassFinish() |
void |
onTestExecutionException() |
addToTestExecutionObserver, onAfterAllException, onAfterEachException, onBeforeAllException, onBeforeEachException, onTestAborted, onTestDisabled, onTestFailed, onTestFinish, onTestSuccesspublic static final String ANALYTICS_CATEGORY_NAME
public static IAnalytics getAnalytics()
public void onTestExecutionException()
onTestExecutionException in interface ITestObserveronTestExecutionException in class Pagepublic void onSetupFailure()
onSetupFailure in interface ITestObserveronSetupFailure in class Pagepublic void onTeardownFailure()
onTeardownFailure in interface ITestObserveronTeardownFailure in class Pagepublic void onTestClassFinish()
onTestClassFinish in interface ITestObserveronTestClassFinish in class Pagepublic ModuleType getModuleType()
@Attachment(value="Screenshot on failure") public byte[] makeScreenshotOnFailure()
@Attachment(value="Source Page on failure") public String makeSourcePageOnFailure()
public static INewMobileDriver getDriver()
Copyright © 2023 Capgemini - Software Solution Center. All rights reserved.