Package org.nuxeo.ecm.webengine.test
Class LoginPage
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.web.WebPage
-
- org.nuxeo.ecm.webengine.test.LoginPage
-
public class LoginPage extends WebPage
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected org.openqa.selenium.WebElementinputPasswordprotected org.openqa.selenium.WebElementinputUsernameprotected org.openqa.selenium.WebElementloginprotected org.openqa.selenium.WebElementlogoutprotected org.openqa.selenium.WebElementlogstate-
Fields inherited from class org.nuxeo.runtime.test.runner.web.WebPage
BIG_TIMEOUT, config, DEFAULT_TIMEOUT, driver, runner
-
-
Constructor Summary
Constructors Constructor Description LoginPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidensureLogin(String username, String password)voidensureLogout()booleanisAuthenticated()booleanisAuthenticated(int timeoutInSeconds)booleanisNotAuthenticated(int timeoutInSeconds)voidlogin(String username, String password)voidlogout()-
Methods inherited from class org.nuxeo.runtime.test.runner.web.WebPage
ensureLoaded, findElement, findElement, findElements, flushPageCache, getAttachment, getConfiguration, getDriver, getPage, getPage, getRunner, hasElement, hasElement, home, to, waitUntilElementFound, waitUntilElementNotFound
-
-
-
-
Field Detail
-
inputUsername
protected org.openqa.selenium.WebElement inputUsername
-
inputPassword
protected org.openqa.selenium.WebElement inputPassword
-
login
protected org.openqa.selenium.WebElement login
-
logout
protected org.openqa.selenium.WebElement logout
-
logstate
protected org.openqa.selenium.WebElement logstate
-
-