org.xwiki.test.ui.po.editor
Class WYSIWYGEditPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.editor.EditPage
org.xwiki.test.ui.po.editor.PreviewableEditPage
org.xwiki.test.ui.po.editor.WYSIWYGEditPage
public class WYSIWYGEditPage
- extends PreviewableEditPage
Represents the actions possible in WYSIWYG edit mode.
- Since:
- 3.2M3
- Version:
- $Id: f705efa49975e96cc62ad8a581ce3e0965020080 $
| Methods inherited from class org.xwiki.test.ui.po.BasePage |
canDelete, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, 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 |
WYSIWYGEditPage
public WYSIWYGEditPage()
gotoPage
public static WYSIWYGEditPage gotoPage(String space,
String page)
- Go to the passed page in WYSIWYG edit mode.
getDocumentTitle
public String getDocumentTitle()
- Overrides:
getDocumentTitle in class BasePage
getContent
public String getContent()
- Get the
content of the page.
setContent
public void setContent(String content)
- Sets the content of the editor (rich text area).
- Parameters:
content - the content to be set
getParent
public String getParent()
- Returns:
- the value of the parent field.
waitUntilPageIsLoaded
public WYSIWYGEditPage waitUntilPageIsLoaded()
- Description copied from class:
BasePage
- Waits until the page has loaded. Normally we don't need to call this method since a click in Selenium2 is a
blocking call. However there are cases (such as when using a shortcut) when we asynchronously load a page.
- Overrides:
waitUntilPageIsLoaded in class BasePage
- Returns:
- this page
Copyright © 2004-2013 XWiki. All Rights Reserved.