org.xwiki.appwithinminutes.test.po
Class ApplicationHomePage

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.appwithinminutes.test.po.ApplicationHomePage

public class ApplicationHomePage
extends ViewPage

Represents the actions possible on the application home page.

Since:
4.2M1
Version:
$Id: 2685af4b4b2b2343776d9dfda15da3e24baa0363 $

Constructor Summary
ApplicationHomePage()
           
 
Method Summary
 EntryNamePane clickAddNewEntry()
          Clicks on the link to add a new application entry.
 ApplicationClassEditPage clickEditApplication()
          Clicks on the link that leads to the class editor.
protected
<T extends InlinePage>
T
createInlinePage()
           
 LiveTableElement getEntriesLiveTable()
           
 boolean hasEntriesLiveTable()
           
 
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, 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

ApplicationHomePage

public ApplicationHomePage()
Method Detail

clickAddNewEntry

public EntryNamePane clickAddNewEntry()
Clicks on the link to add a new application entry.

Returns:
the pane used to input the entry name

clickEditApplication

public ApplicationClassEditPage clickEditApplication()
Clicks on the link that leads to the class editor.

Returns:
the page used to edit the application class

getEntriesLiveTable

public LiveTableElement getEntriesLiveTable()
Returns:
the live table used to browser application data

hasEntriesLiveTable

public boolean hasEntriesLiveTable()
Returns:
true if the entries live table is displayed on the home page, false otherwise

createInlinePage

protected <T extends InlinePage> T createInlinePage()
Overrides:
createInlinePage in class BasePage


Copyright © 2004-2013 XWiki. All Rights Reserved.