org.xwiki.appwithinminutes.test.po
Class EntryEditPage

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.InlinePage
                  extended by org.xwiki.appwithinminutes.test.po.EntryEditPage

public class EntryEditPage
extends InlinePage

Represents the actions possible when editing an application entry.

Since:
4.2M1
Version:
$Id: 6b9a231a50f37aafde1b0fd2fb2e2ca1e8cff318 $

Constructor Summary
EntryEditPage()
           
 
Method Summary
 List<String> getFieldNames()
           
 String getLabel(String fieldName)
          Retrieves the label of the specified form field.
 String getValue(String fieldName)
          Retrieves the value of the specified form field
 void setValue(String fieldName, String fieldValue)
          Sets the value of the specified form field
 
Methods inherited from class org.xwiki.test.ui.po.InlinePage
clickCancel, clickPreview, clickSaveAndContinue, clickSaveAndView, createViewPage, getContent, getForm
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
canDelete, clickBreadcrumbLink, clickWantedLink, copy, createPage, createSpace, delete, editSection, exists, getBreadcrumbContent, getCurrentUser, getDocumentTitle, hasBreadcrumbContent, hasLoginLink, isInlinePage, login, logout, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, register, waitForDocExtraPaneActive, waitUntilContent, watchDocument, watchSpace
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, createInlinePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getEditURL, getMetaDataValue, getPageTitle, getPageURL, isAuthenticated, isNewDocument, sendKeys, waitUntilPageIsLoaded
 
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

EntryEditPage

public EntryEditPage()
Method Detail

getLabel

public String getLabel(String fieldName)
Retrieves the label of the specified form field.

Parameters:
fieldName - the name of a form field
Returns:
the label of the specified form field

getValue

public String getValue(String fieldName)
Retrieves the value of the specified form field

Parameters:
fieldName - the name of a form field
Returns:
the value of the specified form field

setValue

public void setValue(String fieldName,
                     String fieldValue)
Sets the value of the specified form field

Parameters:
fieldName - the name of a form field
fieldValue - the new value for the specified form field

getFieldNames

public List<String> getFieldNames()
Returns:
the list of form field names available on this page


Copyright © 2004-2013 XWiki. All Rights Reserved.