public abstract class BasePage extends Object implements ITestObserver
| Modifier and Type | Field and Description |
|---|---|
static String |
analitycsCategoryName |
| Constructor and Description |
|---|
BasePage() |
BasePage(INewMobileDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObserver() |
static IAnalytics |
getAnalytics() |
static INewMobileDriver |
getDriver() |
ModuleType |
getModuleType() |
byte[] |
makeScreenshotOnFailure() |
String |
makeSourcePageOnFailure() |
void |
onTestClassFinish() |
void |
onTestFailure() |
void |
onTestFinish() |
void |
onTestSuccess() |
public static final String analitycsCategoryName
public BasePage()
public BasePage(INewMobileDriver driver)
public static IAnalytics getAnalytics()
public void addObserver()
addObserver in interface ITestObserverpublic void onTestFailure()
onTestFailure in interface ITestObserverpublic void onTestSuccess()
onTestSuccess in interface ITestObserverpublic void onTestFinish()
onTestFinish in interface ITestObserverpublic void onTestClassFinish()
onTestClassFinish in interface ITestObserverpublic ModuleType getModuleType()
getModuleType in interface ITestObserver@Attachment(value="Screenshot on failure") public byte[] makeScreenshotOnFailure()
@Attachment(value="Source Page on failure") public String makeSourcePageOnFailure()
public static INewMobileDriver getDriver()
Copyright © 2022 Capgemini - Nearshore Test Center - Poland. All rights reserved.