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) |
void |
clearFilter(int expectedNbOfDisplayedResult,
int timeout)
Reset the filter.
|
protected int[] |
convertToIndexes(String... titles) |
void |
copyByIndex(int... indexes)
Select the document by their index in the content view and copy them in the clipboard.
|
void |
copyByTitle(String... titles)
Select the document by their title in the content view and copy them in the clipboard.
|
protected void |
deleteSelectedDocuments() |
void |
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()
Past the content of the clip board.
|
ContentTabSubPage |
removeAllDocuments() |
DocumentBasePage |
removeDocument(String documentTitle) |
void |
selectDocumentByIndex(int... indexes)
Select the document by their index in the content view.
|
void |
selectDocumentByTitles(String... titles)
Select the document by their title in the content view.
|
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 void filterDocument(String filter, int expectedNbOfDisplayedResult, int timeout)
filter
- the string to filterexpectedDisplayedElt
- timeout
- public void clearFilter(int expectedNbOfDisplayedResult, int timeout)
expectedNbOfDisplayedResult
- timeout
- public void selectDocumentByIndex(int... indexes)
indexes
- public void selectDocumentByTitles(String... titles)
indexes
- protected int[] convertToIndexes(String... titles)
public void copyByIndex(int... indexes)
indexes
- public void copyByTitle(String... titles)
indexes
- public ContentTabSubPage paste()
indexes
- public DocumentBasePage goToDocument(int index)
Copyright © 2015 Nuxeo SA. All rights reserved.