org.fluentlenium.adapter
Class FluentTest

java.lang.Object
  extended by org.fluentlenium.core.Fluent
      extended by org.fluentlenium.core.FluentAdapter
          extended by org.fluentlenium.adapter.FluentTest
All Implemented Interfaces:
SearchActions

public abstract class FluentTest
extends FluentAdapter

All Junit Test should extends this class. It provides default parameters.


Nested Class Summary
protected static class FluentTest.Mode
           
 
Field Summary
 Class classe
           
 org.junit.rules.TestName name
           
 org.junit.rules.MethodRule watchman
           
 
Constructor Summary
FluentTest()
           
 
Method Summary
static void assertAt(FluentPage fluent)
           
 org.openqa.selenium.WebDriver getDefaultDriver()
          Override this method to change the driver
 void setDefaultConfig()
          Override this method to change the default time to wait for a page to be loaded
 void setSnapshotMode(FluentTest.Mode mode)
           
 void setSnapshotPath(String path)
           
 
Methods inherited from class org.fluentlenium.core.FluentAdapter
createPage, getDefaultBaseUrl, getDefaultConfig, initClass, initTest, quit
 
Methods inherited from class org.fluentlenium.core.Fluent
$, $, await, clear, clear, clear, click, click, executeScript, fill, fill, find, find, findFirst, getBaseUrl, getCookie, getCookies, getDriver, goTo, goTo, initFluent, pageSource, submit, submit, takeScreenShot, takeScreenShot, text, title, url, value, withDefaultPageWait, withDefaultSearchWait, withDefaultUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classe

public Class classe

name

public org.junit.rules.TestName name

watchman

public org.junit.rules.MethodRule watchman
Constructor Detail

FluentTest

public FluentTest()
Method Detail

setSnapshotPath

public void setSnapshotPath(String path)

setSnapshotMode

public void setSnapshotMode(FluentTest.Mode mode)

getDefaultDriver

public org.openqa.selenium.WebDriver getDefaultDriver()
Override this method to change the driver

Overrides:
getDefaultDriver in class FluentAdapter
Returns:

setDefaultConfig

@Beta
public void setDefaultConfig()
Override this method to change the default time to wait for a page to be loaded


assertAt

public static void assertAt(FluentPage fluent)


Copyright © 2012 AConsulting. All Rights Reserved.