org.xwiki.test.ui.po
Class LoginPage

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.ui.po.BasePage
          extended by org.xwiki.test.ui.po.ViewPage
              extended by org.xwiki.test.ui.po.LoginPage

public class LoginPage
extends ViewPage

Represents the actions possible on the Login page.

Since:
3.2M3
Version:
$Id: b8e4047b5e9c1bcf4290e7783ae2c3782fc2e43d $

Constructor Summary
LoginPage()
           
 
Method Summary
static LoginPage gotoPage()
           
 boolean hasInvalidCredentialsErrorMessage()
           
 void loginAs(String username, String password)
           
 void loginAs(String username, String password, boolean rememberMe)
           
 void loginAsAdmin()
           
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, getContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, waitForDocExtraPaneActive, waitUntilContent
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, waitUntilPageIsLoaded, watchDocument, watchSpace
 
Methods inherited from class org.xwiki.test.ui.po.BaseElement
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginPage

public LoginPage()
Method Detail

gotoPage

public static LoginPage gotoPage()

loginAsAdmin

public void loginAsAdmin()

loginAs

public void loginAs(String username,
                    String password,
                    boolean rememberMe)

loginAs

public void loginAs(String username,
                    String password)

hasInvalidCredentialsErrorMessage

public boolean hasInvalidCredentialsErrorMessage()


Copyright © 2004-2013 XWiki. All Rights Reserved.