Class XPollEditPage


  • public class XPollEditPage
    extends org.xwiki.test.ui.po.InlinePage
    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.openqa.selenium.WebElement entryDescription  
      org.openqa.selenium.WebElement entryName  
      org.openqa.selenium.WebElement entryProposals  
      org.openqa.selenium.WebElement entryStatus  
      org.openqa.selenium.WebElement entryType  
      org.openqa.selenium.WebElement entryVotePrivacy  
      org.openqa.selenium.WebElement pollPublicity  
      • Fields inherited from class org.xwiki.test.ui.po.BasePage

        logo
    • Constructor Summary

      Constructors 
      Constructor Description
      XPollEditPage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getName()  
      String getPollPublicity()  
      String getVotePrivacy()  
      void setDescription​(String description)  
      void setName​(String name)  
      void setPollPublicity​(String value)  
      void setProposals​(String proposals)  
      void setStatus​(String status)  
      void setType​(String value)  
      void setVotePrivacy​(String value)  
      • Methods inherited from class org.xwiki.test.ui.po.InlinePage

        clickCancel, clickPreview, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, createViewPage, getContent, getForm, getFormLocator, getSaveAndContinueButton, getSaveAndViewButton, getValue, setValue
      • Methods inherited from class org.xwiki.test.ui.po.ViewPage

        clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutForDocExtraPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
      • Methods inherited from class org.xwiki.test.ui.po.BasePage

        canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, reloadPage, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, watchDocument, watchSpace, watchWiki
      • Methods inherited from class org.xwiki.test.ui.po.BaseElement

        getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
    • Field Detail

      • entryName

        public org.openqa.selenium.WebElement entryName
      • entryDescription

        public org.openqa.selenium.WebElement entryDescription
      • entryStatus

        public org.openqa.selenium.WebElement entryStatus
      • entryProposals

        public org.openqa.selenium.WebElement entryProposals
      • entryType

        public org.openqa.selenium.WebElement entryType
      • entryVotePrivacy

        public org.openqa.selenium.WebElement entryVotePrivacy
      • pollPublicity

        public org.openqa.selenium.WebElement pollPublicity
    • Constructor Detail

      • XPollEditPage

        public XPollEditPage()
    • Method Detail

      • getName

        public String getName()
        Returns:
        the poll name
      • setName

        public void setName​(String name)
        Parameters:
        name - to entryName to be set
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - to entryDescription to be set
      • setStatus

        public void setStatus​(String status)
        Parameters:
        status - to be set
      • setProposals

        public void setProposals​(String proposals)
        Parameters:
        proposals - to be set
      • setType

        public void setType​(String value)
        Parameters:
        value - to be set
      • getVotePrivacy

        public String getVotePrivacy()
        Returns:
        the vote privacy selected value
      • setVotePrivacy

        public void setVotePrivacy​(String value)
        Parameters:
        value - to be set
      • getPollPublicity

        public String getPollPublicity()
        Returns:
        the poll publicity selected value
      • setPollPublicity

        public void setPollPublicity​(String value)
        Parameters:
        value - to be set