org.xwiki.test.ui.po.editor.wysiwyg
Class ToolBarElement

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.ui.po.editor.wysiwyg.ToolBarElement

public class ToolBarElement
extends BaseElement

Models the tool bar of the WYSIWYG content editor.

Since:
3.4RC1
Version:
$Id: 2ab4e14a446b1e68fe103b153fc5aa684fa3dfdb $

Constructor Summary
ToolBarElement(org.openqa.selenium.WebElement container)
          Creates a new instance that can be used to control the tool bar inside the given container.
 
Method Summary
protected  void clickToolBarButtonWithTitle(String title)
          Clicks the tool bar button with the specified title.
 void clickUndoButton()
          Clicks on the Undo tool bar button.
 
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

ToolBarElement

public ToolBarElement(org.openqa.selenium.WebElement container)
Creates a new instance that can be used to control the tool bar inside the given container.

Parameters:
container - the element that wraps the tool bar
Method Detail

clickUndoButton

public void clickUndoButton()
Clicks on the Undo tool bar button.


clickToolBarButtonWithTitle

protected void clickToolBarButtonWithTitle(String title)
Clicks the tool bar button with the specified title.

Parameters:
title - the title of the tool bar button to be clicked


Copyright © 2004-2013 XWiki. All Rights Reserved.