org.xwiki.annotation.test.po
Class AnnotatableViewPage

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.annotation.test.po.AnnotatableViewPage

public class AnnotatableViewPage
extends BaseElement

Since:
4.2M1
Version:
$Id: b86e44ddcc8f1be9d20746e7691e1d4e878f32a9 $

Constructor Summary
AnnotatableViewPage(ViewPage viewPage)
           
 
Method Summary
 void addAnnotation(String annotatedText, String annotationText)
           
 boolean checkIfAnnotationsAreDisabled()
           
 boolean checkIfClickbuttonExists()
           
 void clickHideAnnotations()
           
 void clickShowAnnotations()
           
 void deleteAnnotationByID(String id)
           
 void deleteAnnotationByText(String annotatedText)
           
 String getAnnotationContentByText(String searchText)
           
 ViewPage getWrappedViewPage()
           
 void hideAnnotationsPane()
           
 void selectText(String annotationWord)
           
 void showAnnotationsPane()
           
 void simulateCTRL_M()
           
 void waitforAnnotationWarningNotification()
           
 
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

AnnotatableViewPage

public AnnotatableViewPage(ViewPage viewPage)
Method Detail

getWrappedViewPage

public ViewPage getWrappedViewPage()

addAnnotation

public void addAnnotation(String annotatedText,
                          String annotationText)

deleteAnnotationByID

public void deleteAnnotationByID(String id)

deleteAnnotationByText

public void deleteAnnotationByText(String annotatedText)

getAnnotationContentByText

public String getAnnotationContentByText(String searchText)

showAnnotationsPane

public void showAnnotationsPane()

hideAnnotationsPane

public void hideAnnotationsPane()

clickShowAnnotations

public void clickShowAnnotations()

clickHideAnnotations

public void clickHideAnnotations()

checkIfClickbuttonExists

public boolean checkIfClickbuttonExists()

simulateCTRL_M

public void simulateCTRL_M()

selectText

public void selectText(String annotationWord)
Parameters:
annotationWord - string that will be selected on the screen

checkIfAnnotationsAreDisabled

public boolean checkIfAnnotationsAreDisabled()

waitforAnnotationWarningNotification

public void waitforAnnotationWarningNotification()


Copyright © 2004-2013 XWiki. All Rights Reserved.