public class ContentTabSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedException
Modifier and Type | Field and Description |
---|---|
static String |
ADD_TO_WORKLIST |
static String |
COPY |
static String |
DELETE |
static String |
PASTE |
breadcrumbForm, commentsTabLink, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, filesTabLink, forumTabLink, historyTabLink, homePageLink, manageTabLink, permissionsTabLink, publishTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, topicTabLink, userMenuActions, workflowLink
driver, userServicesForm
Constructor and Description |
---|
ContentTabSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
DocumentBasePage |
addToWorkList(String documentTitle) |
ContentTabSubPage |
clearFilter(int expectedNbOfDisplayedResult,
int timeout)
Reset the filter.
|
ContentTabSubPage |
copyByIndex(int... indexes)
Selects documents by their index in the content view and copy them in the clipboard.
|
ContentTabSubPage |
copyByTitle(String... titles)
Selects documents by their title in the content view and copy them in the clipboard.
|
protected void |
deleteSelectedDocuments() |
ContentTabSubPage |
filterDocument(String filter,
int expectedNbOfDisplayedResult,
int timeout)
Perform filter on the given string.
|
List<org.openqa.selenium.WebElement> |
getChildDocumentRows() |
<T> T |
getDocumentCreatePage(String docType,
Class<T> pageClassToProxy)
Clicks on the new button and select the type of document to create
|
protected ContentViewElement |
getElement() |
DocumentBasePage |
goToDocument(int index) |
DocumentBasePage |
goToDocument(String documentTitle)
Clicking on one of the child with the title.
|
boolean |
hasDocumentLink(String title) |
boolean |
hasNewButton() |
ContentTabSubPage |
paste()
Pastes the content of the clip board.
|
ContentTabSubPage |
removeAllDocuments()
Removes all documents visible on current page.
|
DocumentBasePage |
removeDocument(String documentTitle) |
ContentTabSubPage |
selectByIndex(int... indexes)
Selects documents by their index in the content view.
|
ContentTabSubPage |
selectByTitle(String... titles)
Selects documents by title in the content view.
|
ContentTabSubPage |
selectDocumentByIndex(int... indexes)
Deprecated.
since 8.1, use
selectByIndex(int...) instead. |
ContentTabSubPage |
selectDocumentByTitles(String... titles)
Deprecated.
since 8.1 use
selectByTitle(String...) |
checkDocTitle, checkUserConnected, clickOnBreadcrumbElement, clickOnDocumentTabLink, clickOnDocumentTabLink, createCollection, createCollections, createFile, createFolder, createForum, createNote, createSection, createWorkspace, deleteWorkspace, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getBlobActions, getCollectionContentTab, getCommentsTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getEditTab, getFilesTab, getForumTab, getHistoryTab, getManageTab, getNavigationSubPage, getPermissionsTab, getPublishTab, getRelationTab, getSummaryTab, getTopicTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, goToWorkspaces, hasEditTab, hasFilesTab, hasManageTab, hasNewButton, hasNewPermissionsButton, hasNewRelationLink, isAddToCollectionUpperActionAvailable, isMainTabSelected, makeBreadcrumbUsable, popupUserMenuActions, switchToDocumentBase, switchToPersonalWorkspace
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
public static final String COPY
public static final String PASTE
public static final String DELETE
public static final String ADD_TO_WORKLIST
public ContentTabSubPage(org.openqa.selenium.WebDriver driver)
protected ContentViewElement getElement()
public List<org.openqa.selenium.WebElement> getChildDocumentRows()
public DocumentBasePage goToDocument(String documentTitle)
documentTitle
- the document titlepublic <T> T getDocumentCreatePage(String docType, Class<T> pageClassToProxy)
docType
- the document type to createpageClassToProxy
- The page object type to returnpublic DocumentBasePage removeDocument(String documentTitle)
protected void deleteSelectedDocuments()
public DocumentBasePage addToWorkList(String documentTitle)
public ContentTabSubPage removeAllDocuments()
public ContentTabSubPage filterDocument(String filter, int expectedNbOfDisplayedResult, int timeout)
filter
- the string to filterpublic ContentTabSubPage clearFilter(int expectedNbOfDisplayedResult, int timeout)
@Deprecated public ContentTabSubPage selectDocumentByIndex(int... indexes)
selectByIndex(int...)
instead.public ContentTabSubPage selectByIndex(int... indexes)
@Deprecated public ContentTabSubPage selectDocumentByTitles(String... titles)
selectByTitle(String...)
public ContentTabSubPage selectByTitle(String... titles)
public ContentTabSubPage copyByIndex(int... indexes)
indexes
- the indexespublic ContentTabSubPage copyByTitle(String... titles)
titles
- the titlespublic ContentTabSubPage paste()
public DocumentBasePage goToDocument(int index)
public boolean hasDocumentLink(String title)
public boolean hasNewButton()
Copyright © 2016 Nuxeo SA. All rights reserved.