org.xwiki.appwithinminutes.test.po
Class EntryEditPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.ViewPage
org.xwiki.test.ui.po.InlinePage
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: baf818c69b2d088d417a75fc83f54b96193b5608 $
| Methods inherited from class org.xwiki.test.ui.po.ViewPage |
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, 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 |
EntryEditPage
public EntryEditPage()
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 fieldfieldValue - the new value for the specified form field
getFieldNames
public List<String> getFieldNames()
- Returns:
- the list of form field names available on this page
setTitle
public void setTitle(String title)
- Sets the entry title, if the application class has a Title field.
- Parameters:
title - the entry title
getTitle
public String getTitle()
- Returns:
- the value of the title input
getContentEditor
public EditorElement getContentEditor()
- Returns:
- the content editor
Copyright © 2004-2013 XWiki. All Rights Reserved.