public class FluentTestRunnerAdapter extends FluentAdapter
Fluent.TriggerModehtmlDumpMode, pageInitializer, screenshotMode| Constructor and Description |
|---|
FluentTestRunnerAdapter() |
FluentTestRunnerAdapter(SharedDriverStrategyReader sharedDriverExtractor,
CookieStrategyReader cookieExtractor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
failed()
Invoked when a test method has failed (before finished)
|
protected void |
failed(Class<?> testClass)
Invoked when a test method has failed (before finished)
|
protected void |
failed(Class<?> testClass,
String testName)
Invoked when a test method has failed (before finished)
|
protected void |
failed(String testName)
Invoked when a test method has failed (before finished)
|
protected void |
failed(Throwable e,
Class<?> testClass,
String testName)
Invoked when a test method has failed (before finished)
|
protected void |
finished()
Invoked when a test method has finished (whatever the success of failing status)
|
protected void |
finished(Class<?> testClass)
Invoked when a test method has finished (whatever the success of failing status)
|
protected void |
finished(Class<?> testClass,
String testName)
Invoked when a test method has finished (whatever the success of failing status)
|
protected void |
finished(String testName)
Invoked when a test method has finished (whatever the success of failing status)
|
static void |
releaseSharedDriver()
Invoked when all methods from the class have been runned.
|
protected void |
starting()
Invoked when a test method is starting.
|
protected void |
starting(Class<?> testClass)
Invoked when a test method is starting.
|
protected void |
starting(Class<?> testClass,
String testName)
Invoked when a test method is starting.
|
protected void |
starting(String testName)
Invoked when a test method is starting.
|
close, getDefaultBaseUrl, getDefaultConfig, getDefaultDriver, init$, $, $, $, $, $, alert, await, cleanupDriver, clear, clear, clear, clear, click, click, click, createPage, events, executeAsyncScript, executeScript, fill, fill, fill, fillSelect, fillSelect, find, find, find, find, find, find, findFirst, findFirst, findFirst, getBaseUrl, getCookie, getCookies, getDriver, getSearch, goTo, goTo, goToInNewTab, initFluent, maximizeWindow, pageSource, quit, setHtmlDumpMode, setHtmlDumpPath, setScreenshotMode, setScreenshotPath, submit, submit, submit, switchTo, switchTo, switchToDefault, takeHtmlDump, takeHtmlDump, takeScreenShot, takeScreenShot, text, text, title, url, value, value, withDefaultPageWait, withDefaultSearchWait, withDefaultUrlpublic FluentTestRunnerAdapter()
public FluentTestRunnerAdapter(SharedDriverStrategyReader sharedDriverExtractor, CookieStrategyReader cookieExtractor)
protected void starting()
protected void starting(String testName)
testName - Test nameprotected void starting(Class<?> testClass)
testClass - Test classprotected void starting(Class<?> testClass, String testName)
testClass - Test classtestName - Test nameprotected void finished()
protected void finished(String testName)
testName - Test nameprotected void finished(Class<?> testClass)
testClass - Test classprotected void finished(Class<?> testClass, String testName)
testClass - Test classtestName - Test nameprotected void failed()
protected void failed(String testName)
testName - Test nameprotected void failed(Class<?> testClass)
testClass - Test classprotected void failed(Class<?> testClass, String testName)
testClass - Test classtestName - Test nameprotected void failed(Throwable e, Class<?> testClass, String testName)
e - Throwable thrown by the failing test.testClass - Test classtestName - Test namepublic static void releaseSharedDriver()
Copyright © 2016 FluentLenium. All Rights Reserved.