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 |
onTestClassFinish() |
void |
onTestFailure() |
addToTestExecutionObserver, onTestFinish, onTestSuccesspublic static final String ANALYTICS_CATEGORY_NAME
public static IAnalytics getAnalytics()
public void onTestFailure()
onTestFailure in interface ITestObserveronTestFailure 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 © 2020 Capgemini - Nearshore Test Center - Poland. All rights reserved.