org.xwiki.test.ui.po.editor
Class WYSIWYGEditPage

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.editor.EditPage
              extended by org.xwiki.test.ui.po.editor.PreviewableEditPage
                  extended by 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: f29cc62088d9af70db1bbc8a35d0ee9c8773316f $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.xwiki.test.ui.po.editor.EditPage
EditPage.Editor
 
Field Summary
 
Fields inherited from class org.xwiki.test.ui.po.editor.EditPage
cancel, save, saveandcontinue, selectedEditMenuItem, syntaxIdSelect
 
Constructor Summary
WYSIWYGEditPage()
           
 
Method Summary
 String getContent()
          Get the content of the page.
 EditorElement getContentEditor()
           
 String getDocumentTitle()
           
 String getParent()
           
static WYSIWYGEditPage gotoPage(String space, String page)
          Go to the passed page in WYSIWYG edit mode.
 AttachedImageSelectPane insertAttachedImage()
          Triggers the insert attached image wizard.
 TableConfigPane insertTable()
          Triggers the insert table wizard.
 ViewPage save()
           
 
Methods inherited from class org.xwiki.test.ui.po.editor.PreviewableEditPage
clickPreview
 
Methods inherited from class org.xwiki.test.ui.po.editor.EditPage
clickCancel, clickContentMenuEditSubMenuEntry, clickSaveAndContinue, clickSaveAndView, getEditor, getSyntaxId, setSyntaxId
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
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

WYSIWYGEditPage

public WYSIWYGEditPage()
Method Detail

gotoPage

public static WYSIWYGEditPage gotoPage(String space,
                                       String page)
Go to the passed page in WYSIWYG edit mode.


getDocumentTitle

public String getDocumentTitle()

save

public ViewPage save()

getContent

public String getContent()
Get the content of the page.


getContentEditor

public EditorElement getContentEditor()
Returns:
the WYSIWYG content editor

insertAttachedImage

public AttachedImageSelectPane insertAttachedImage()
Triggers the insert attached image wizard.

Returns:
the pane used to select an attached image to insert

insertTable

public TableConfigPane insertTable()
Triggers the insert table wizard.

Returns:
the pane used to configure the table to insert

getParent

public String getParent()
Returns:
the value of the parent field.


Copyright © 2004-2013 XWiki. All Rights Reserved.