Class FluentTest

  • All Implemented Interfaces:
    org.fluentlenium.configuration.Configuration, org.fluentlenium.configuration.ConfigurationMutator, org.fluentlenium.configuration.ConfigurationProperties, org.fluentlenium.core.action.InputControl, org.fluentlenium.core.alert.AlertControl, org.fluentlenium.core.capabilities.CapabilitiesControl, org.fluentlenium.core.components.ComponentInstantiator, org.fluentlenium.core.css.CssControl, org.fluentlenium.core.events.EventsControl, org.fluentlenium.core.FluentControl, org.fluentlenium.core.inject.FluentInjectControl, org.fluentlenium.core.navigation.NavigationControl, org.fluentlenium.core.script.JavascriptControl, org.fluentlenium.core.search.SearchControl<org.fluentlenium.core.domain.FluentWebElement>, org.fluentlenium.core.SeleniumDriverControl, org.fluentlenium.core.snapshot.SnapshotControl, org.fluentlenium.core.wait.AwaitControl

    public class FluentTest
    extends org.fluentlenium.adapter.FluentTestRunnerAdapter
    JUnit 4 FluentLenium Test Runner Adapter.

    Extends this class to provide FluentLenium support to your JUnit Test class.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.fluentlenium.configuration.ConfigurationProperties

        org.fluentlenium.configuration.ConfigurationProperties.DriverLifecycle, org.fluentlenium.configuration.ConfigurationProperties.TriggerMode
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.junit.rules.TestRule classWatchman
      Fluent test adapter JUnit class rule.
      org.junit.rules.TestRule watchman
      Fluent test adapter JUnit rule.
    • Constructor Summary

      Constructors 
      Constructor Description
      FluentTest()  
    • Method Summary

      • Methods inherited from class org.fluentlenium.adapter.FluentTestRunnerAdapter

        afterClass, failed, failed, failed, failed, failed, finished, finished, finished, finished, getSharedWebDriver, starting, starting, starting, starting
      • Methods inherited from class org.fluentlenium.adapter.FluentAdapter

        getDriver, getFluentControl, initFluent, newWebDriver, releaseFluent
      • Methods inherited from class org.fluentlenium.core.FluentControlImpl

        alert, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asComponentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, asFluentList, await, canTakeScreenShot, capabilities, css, el, events, executeAsyncScript, executeScript, find, find, find, find, getAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getBrowserTimeout, getBrowserTimeoutRetries, getCapabilities, getConfiguration, getConfigurationDefaults, getConfigurationFactory, getControlContainer, getCookie, getCookies, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriver, goTo, goTo, goToInNewTab, inject, injectComponent, isComponentClass, isComponentListClass, keyboard, mouse, newComponent, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newComponentList, newFluent, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newFluentList, newInstance, pageSource, setAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setBrowserTimeout, setBrowserTimeoutRetries, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriver, switchTo, switchTo, switchTo, switchToDefault, takeHtmlDump, takeHtmlDump, takeScreenshot, takeScreenshot, url, window
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.fluentlenium.core.alert.AlertControl

        alert
      • Methods inherited from interface org.fluentlenium.core.wait.AwaitControl

        await
      • Methods inherited from interface org.fluentlenium.core.capabilities.CapabilitiesControl

        capabilities
      • Methods inherited from interface org.fluentlenium.core.components.ComponentInstantiator

        asComponentList, 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, newFluentList
      • Methods inherited from interface org.fluentlenium.configuration.ConfigurationMutator

        setAwaitAtMost, setAwaitPollingEvery, setBaseUrl, setBrowserTimeout, setBrowserTimeoutRetries, setCapabilities, setConfigurationFactory, setCustomProperty, setDeleteCookies, setDriverLifecycle, setEventsEnabled, setHtmlDumpMode, setHtmlDumpPath, setImplicitlyWait, setPageLoadTimeout, setRemoteUrl, setScreenshotMode, setScreenshotPath, setScriptTimeout, setWebDriver
      • Methods inherited from interface org.fluentlenium.configuration.ConfigurationProperties

        getAwaitAtMost, getAwaitPollingEvery, getBaseUrl, getBrowserTimeout, getBrowserTimeoutRetries, getCapabilities, getConfigurationDefaults, getConfigurationFactory, getCustomProperty, getDeleteCookies, getDriverLifecycle, getEventsEnabled, getHtmlDumpMode, getHtmlDumpPath, getImplicitlyWait, getPageLoadTimeout, getRemoteUrl, getScreenshotMode, getScreenshotPath, getScriptTimeout, getWebDriver
      • Methods inherited from interface org.fluentlenium.core.css.CssControl

        css
      • Methods inherited from interface org.fluentlenium.core.events.EventsControl

        events
      • Methods inherited from interface org.fluentlenium.core.inject.FluentInjectControl

        inject, injectComponent, newInstance
      • Methods inherited from interface org.fluentlenium.core.action.InputControl

        keyboard, mouse
      • Methods inherited from interface org.fluentlenium.core.script.JavascriptControl

        executeAsyncScript, executeScript
      • Methods inherited from interface org.fluentlenium.core.navigation.NavigationControl

        getCookie, getCookies, goTo, goTo, goToInNewTab, pageSource, switchTo, switchTo, switchTo, switchToDefault, url, window
      • Methods inherited from interface org.fluentlenium.core.search.SearchControl

        $, $, $, $, el, el, el, el, find, find, find, find
      • Methods inherited from interface org.fluentlenium.core.snapshot.SnapshotControl

        canTakeScreenShot, takeHtmlDump, takeHtmlDump, takeScreenshot, takeScreenshot
    • Field Detail

      • watchman

        public org.junit.rules.TestRule watchman
        Fluent test adapter JUnit rule.
      • classWatchman

        public static org.junit.rules.TestRule classWatchman
        Fluent test adapter JUnit class rule.
    • Constructor Detail

      • FluentTest

        public FluentTest()