public class ContentTabSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedException
breadcrumbForm, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, historyTabLink, homePageLink, manageTabLink, permissionsTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, 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.
|
protected int[] |
convertToIndexes(String... titles) |
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
|
DocumentBasePage |
goToDocument(int index) |
DocumentBasePage |
goToDocument(String documentTitle)
Clicking on one of the child with the title.
|
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, clickOnDocumentTabLink, clickOnDocumentTabLink, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getBlobActions, getCollectionContentTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getHistoryTab, getManageTab, getNavigationSubPage, getPermissionsTab, getRelationTab, getSummaryTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, goToWorkspaces, isAddToCollectionUpperActionAvailable, isMainTabSelected, popupUserMenuActions, switchToDocumentBase, switchToPersonalWorkspace
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitUntilEnabled, waitUntilURLDifferentFrom
public ContentTabSubPage(org.openqa.selenium.WebDriver driver)
public List<org.openqa.selenium.WebElement> getChildDocumentRows()
public DocumentBasePage goToDocument(String documentTitle)
documentTitle
- public <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 filterexpectedDisplayedElt
- timeout
- public ContentTabSubPage clearFilter(int expectedNbOfDisplayedResult, int timeout)
expectedNbOfDisplayedResult
- 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)
protected int[] convertToIndexes(String... titles)
public ContentTabSubPage copyByIndex(int... indexes)
indexes
- public ContentTabSubPage copyByTitle(String... titles)
indexes
- public ContentTabSubPage paste()
public DocumentBasePage goToDocument(int index)
Copyright © 2016 Nuxeo SA. All rights reserved.