public class TestObjectTestResultWatcher
extends org.junit.rules.TestWatcher
| Constructor and Description |
|---|
TestObjectTestResultWatcher() |
TestObjectTestResultWatcher(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureForSuiteExecution(String apiKey,
long suiteId,
org.testobject.rest.api.appium.common.data.SuiteReport suiteReport) |
protected void |
failed(Throwable e,
org.junit.runner.Description description) |
protected void |
finished(org.junit.runner.Description description) |
String |
getApiKey() |
String |
getTestDeviceId() |
URL |
getTestObjectOrLocalAppiumEndpointURL() |
String |
getTestReportId() |
void |
setAppiumDriver(io.appium.java_client.AppiumDriver appiumDriver) |
void |
setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver remoteWebDriver,
URL remoteAddress) |
protected void |
skipped(org.junit.internal.AssumptionViolatedException e,
org.junit.runner.Description description) |
protected void |
starting(org.junit.runner.Description description) |
protected void |
succeeded(org.junit.runner.Description description) |
public TestObjectTestResultWatcher()
public TestObjectTestResultWatcher(String baseUrl)
protected void starting(org.junit.runner.Description description)
starting in class org.junit.rules.TestWatcherprotected void succeeded(org.junit.runner.Description description)
succeeded in class org.junit.rules.TestWatcherprotected void failed(Throwable e, org.junit.runner.Description description)
failed in class org.junit.rules.TestWatcherprotected void skipped(org.junit.internal.AssumptionViolatedException e,
org.junit.runner.Description description)
skipped in class org.junit.rules.TestWatcherprotected void finished(org.junit.runner.Description description)
finished in class org.junit.rules.TestWatcherpublic void setAppiumDriver(io.appium.java_client.AppiumDriver appiumDriver)
public void setRemoteWebDriver(org.openqa.selenium.remote.RemoteWebDriver remoteWebDriver,
URL remoteAddress)
public void configureForSuiteExecution(String apiKey, long suiteId, org.testobject.rest.api.appium.common.data.SuiteReport suiteReport)
public String getTestReportId()
public String getTestDeviceId()
public String getApiKey()
public URL getTestObjectOrLocalAppiumEndpointURL() throws MalformedURLException
MalformedURLExceptionCopyright © 2016. All rights reserved.