public class ContentTabSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedException
breadcrumbForm, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, historyTabLink, homePageLink, manageTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, userMenuActions, workflowLink
userServicesForm
Constructor and Description |
---|
ContentTabSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
clearFilter(int expectedNbOfDisplayedResult,
int timeout)
Reset the filter.
|
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.
|
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, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getCollectionContentTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getHistoryTab, getManageTab, getNavigationSubPage, getRelationTab, getSummaryTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, isAddToCollectionUpperActionAvailable, popupUserMenuActions, swithToDocumentBase, swithToPersonalWorkspace
asPage, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, waitUntilEnabled, waitUntilURLDifferentFrom
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)
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
- 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.