public class FluentTestRunnerAdapter extends FluentAdapter
Extends this class to provide FluentLenium support to your Test class.
ConfigurationProperties.DriverLifecycle, ConfigurationProperties.TriggerMode| Constructor and Description |
|---|
FluentTestRunnerAdapter()
Creates a new test runner adapter.
|
FluentTestRunnerAdapter(FluentControlContainer driverContainer)
Creates a test runner adapter, with a custom driver container.
|
FluentTestRunnerAdapter(FluentControlContainer driverContainer,
SharedMutator sharedMutator)
Creates a test runner adapter, with a customer driver container and a customer shared mutator.
|
FluentTestRunnerAdapter(SharedMutator sharedMutator)
Creates a test runner adapter, with a custom shared mutator.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
afterClass(Class<?> testClass)
Invoked when a test class has finished (whatever the success of failing status)
|
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)
|
protected SharedWebDriver |
getSharedWebDriver(SharedMutator.EffectiveParameters<?> parameters,
ExecutorService webDriverExecutor) |
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.
|
getConfiguration, getControlContainer, getDriver, initFluent, newWebDriver, releaseFluentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$, $, $, $, el, el, el, el, find, find, find, findawaitkeyboard, mouseexecuteAsyncScript, executeScriptalertcanTakeScreenShot, takeHtmlDump, takeHtmlDump, takeScreenShot, takeScreenShoteventsgetCookie, getCookies, goTo, goTo, goToInNewTab, pageSource, switchTo, switchTo, switchTo, switchToDefault, url, windowcssinject, injectComponent, newInstanceasComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, isComponentClass, isComponentListClass, newComponent, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newFluent, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newFluentListcapabilitiesgetAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getBrowserTimeout, getBrowserTimeoutRetries, getCapabilities, getConfigurationDefaults, getConfigurationFactory, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriversetAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setBrowserTimeout, setBrowserTimeoutRetries, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriverpublic FluentTestRunnerAdapter()
public FluentTestRunnerAdapter(FluentControlContainer driverContainer)
driverContainer - driver containerpublic FluentTestRunnerAdapter(SharedMutator sharedMutator)
sharedMutator - shared mutator.public FluentTestRunnerAdapter(FluentControlContainer driverContainer, SharedMutator sharedMutator)
driverContainer - driver containersharedMutator - shared mutatorpublic static void afterClass(Class<?> testClass)
testClass - test class to terminateprotected 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 SharedWebDriver getSharedWebDriver(SharedMutator.EffectiveParameters<?> parameters, ExecutorService webDriverExecutor) throws ExecutionException, InterruptedException
protected 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 nameCopyright © 2017 FluentLenium. All Rights Reserved.