| Package | Description |
|---|---|
| org.fluentlenium.adapter | |
| org.fluentlenium.core | |
| org.fluentlenium.core.action | |
| org.fluentlenium.core.domain | |
| org.fluentlenium.core.wait |
| Modifier and Type | Class and Description |
|---|---|
class |
FluentTest
All Junit Test should extends this class.
|
class |
IsolatedTest |
| Modifier and Type | Class and Description |
|---|---|
class |
FluentAdapter |
class |
FluentPage
Use the Page Object Pattern to have more resilient tests.
|
| Modifier and Type | Field and Description |
|---|---|
static InheritableThreadLocal<Fluent> |
FluentThread.userThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
Fluent |
Fluent.clear(Filter... filters)
Clear texts of the all elements filtered by the specified filters.
|
Fluent |
Fluent.clear(FluentList<FluentWebElement> fluentObject)
Clear all elements that are in the list
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.clear(FluentWebElement fluentObject)
Clear the given parameters elements that are in the list
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.clear(String cssSelector,
Filter... filters)
Submit all elements that are in cssSelector with its filters
Be careful - only the visible elements are cleared
|
Fluent |
Fluent.click(Filter... filters)
Click all elements filtered by the specified filters.
|
Fluent |
Fluent.click(FluentDefaultActions fluentObject)
click all elements that are in the list
Be careful - only the visible elements are clicked
|
Fluent |
Fluent.click(String cssSelector,
Filter... filters)
click all elements that are in cssSelector with its filters
Be careful - only the visible elements are clicked
|
static Fluent |
FluentThread.get() |
Fluent |
Fluent.goTo(String url)
Open the url page
|
protected Fluent |
Fluent.initFluent(org.openqa.selenium.WebDriver driver) |
Fluent |
Fluent.maximizeWindow()
Maximize browser window using webdriver
|
Fluent |
Fluent.submit(Filter... filters)
Submit all elements filtered by the specified filters.
|
Fluent |
Fluent.submit(FluentDefaultActions fluentObject)
Submit all elements that are in the list
Be careful - only the visible elements are submitted
|
Fluent |
Fluent.submit(String cssSelector,
Filter... filters)
Submit all elements that are in cssSelector with its filters
Be careful - only the visible elements are submitted
|
Fluent |
Fluent.switchTo()
Switch to the default element
|
Fluent |
Fluent.switchTo(FluentWebElement element)
Switch to the selected Element (if element is null or not an iframe, or haven't an id then
switch to the default)
|
Fluent |
Fluent.switchToDefault()
Switch to the default element
|
Fluent |
Fluent.takeScreenShot()
Take a snapshot of the browser.
|
Fluent |
Fluent.takeScreenShot(String fileName)
Take a snapshot of the browser into a file given by the fileName param.
|
Fluent |
Fluent.withDefaultPageWait(long l,
TimeUnit timeUnit)
Define an implicit time to wait for a page to be loaded
|
Fluent |
Fluent.withDefaultSearchWait(long l,
TimeUnit timeUnit)
Define an implicit time to wait when searching an element
|
Fluent |
Fluent.withDefaultUrl(String baseUrl)
Define the default url that will be used in the test and in the relative pages
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FluentThread.set(Fluent fluent) |
| Modifier and Type | Class and Description |
|---|---|
class |
FillConstructor |
class |
FillSelectConstructor |
| Modifier and Type | Class and Description |
|---|---|
class |
FluentJavascript
Map result of executed javascript.
|
| Modifier and Type | Method and Description |
|---|---|
Fluent |
FluentWaitMatcher.areDisplayed()
Check that the elements are all displayed
|
Fluent |
FluentWaitMatcher.areEnabled()
Check that the elements are all enabled
|
Fluent |
FluentWaitMatcher.areNotDisplayed()
Check that the elements are all not displayed
|
Fluent |
FluentWaitMatcher.containsText(String value)
check if the FluentWait contains the corresponding text
|
Fluent |
FluentWaitMatcher.hasAttribute(String attribute,
String value)
WARNING - Should be change in a next version to hasAttribute("myAttribute").value("myValue")
|
Fluent |
FluentWaitMatcher.hasId(String value)
check if the FluentWait has the corresponding id
|
Fluent |
FluentWaitMatcher.hasName(String value)
check if the FluentWait has the corresponding name
|
Fluent |
FluentWaitMatcher.hasSize(int size)
Check that the element have the size indicated
|
Fluent |
FluentWaitMatcher.hasText(String value)
check if the FluentWait has the exact corresponding text
|
Fluent |
FluentWaitPageMatcher.isLoaded()
check if the page is loaded or not.
|
Fluent |
FluentWaitMatcher.isNotPresent()
Check that the element is not present
|
Fluent |
FluentWaitMatcher.isPresent()
Check that the element is present
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
FluentWait.until(com.google.common.base.Function<? super Fluent,T> isTrue) |
FluentWait |
FluentWait.until(com.google.common.base.Predicate<Fluent> isTrue) |
| Constructor and Description |
|---|
FluentWait(Fluent fluent,
Search search) |
Copyright © 2015 AConsulting. All Rights Reserved.