Package com.xwiki.xpoll.test.po
Class XPollEditPage
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.BasePage
-
- org.xwiki.test.ui.po.ViewPage
-
- org.xwiki.test.ui.po.InlinePage
-
- com.xwiki.xpoll.test.po.XPollEditPage
-
public class XPollEditPage extends org.xwiki.test.ui.po.InlinePage
-
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.WebElemententryDescriptionorg.openqa.selenium.WebElemententryNameorg.openqa.selenium.WebElemententryProposalsorg.openqa.selenium.WebElemententryStatusorg.openqa.selenium.WebElemententryTypeorg.openqa.selenium.WebElemententryVotePrivacyorg.openqa.selenium.WebElementpollPublicity
-
Constructor Summary
Constructors Constructor Description XPollEditPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetPollPublicity()StringgetVotePrivacy()voidsetDescription(String description)voidsetName(String name)voidsetPollPublicity(String value)voidsetProposals(String proposals)voidsetStatus(String status)voidsetType(String value)voidsetVotePrivacy(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
-
-
-
-
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
-
-
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
-
-