public class ContentTabSubPage extends AbstractContentTabSubPage
DocumentBasePage.UserNotConnectedException
Modifier and Type | Field and Description |
---|---|
static String |
ADD_TO_COLLECTION |
static String |
ADD_TO_WORKLIST |
static String |
COPY |
static String |
DELETE
Deprecated.
since 9.1 not used anymore as we now have
ContentViewSelectionActions.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 |
---|---|
AddAllToCollectionForm |
addToCollectionByIndex(int... indexes) |
ContentTabSubPage |
addToWorkList(String documentTitle) |
ContentTabSubPage |
clearFilter()
Clear the current filter and refresh content view.
|
ContentTabSubPage |
clearFilter(int expectedNbOfDisplayedResult,
int timeout)
Deprecated.
since 9.1 use
clearFilter() instead and assert the expected number of result in your test |
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()
Deprecated.
since 9.1 no need - use
ContentViewElement.selectByTitle(String...) then the action instead |
ContentTabSubPage |
filterDocument(String filter)
Perform filter on the given string.
|
ContentTabSubPage |
filterDocument(String filter,
int expectedNbOfDisplayedResult,
int timeout)
Deprecated.
since 9.1 use
filterDocument(String) instead and assert in your test the
expected number of results. |
protected org.openqa.selenium.WebElement |
getContentViewElement() |
<T> T |
getDocumentCreatePage(String docType,
Class<T> pageClassToProxy)
Clicks on the new button and select the type of document to create
|
protected ContentViewElement |
getElement()
Deprecated.
|
boolean |
hasNewButton() |
ContentTabSubPage |
paste()
Pastes the content of the clip board.
|
ContentTabSubPage |
removeAllDocuments()
Removes all documents visible on current page.
|
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 |
selectDocumentByTitles(String... titles)
Deprecated.
since 8.1 use
selectByTitle(String...) |
clearFilter, filterDocument, getChildDocumentRows, getContentView, goToDocument, goToDocument, goToDocumentWithVersion, hasDocumentLink, removeAllDocuments, removeDocument, removeDocument
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, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, 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
ContentViewSelectionActions.delete()
public static final String ADD_TO_WORKLIST
public static final String ADD_TO_COLLECTION
public ContentTabSubPage(org.openqa.selenium.WebDriver driver)
protected org.openqa.selenium.WebElement getContentViewElement()
getContentViewElement
in class AbstractContentTabSubPage
@Deprecated protected ContentViewElement getElement()
AbstractContentTabSubPage.getContentView()
instead.public <T> T getDocumentCreatePage(String docType, Class<T> pageClassToProxy)
docType
- the document type to createpageClassToProxy
- The page object type to return@Deprecated protected void deleteSelectedDocuments()
ContentViewElement.selectByTitle(String...)
then the action insteadpublic ContentTabSubPage addToWorkList(String documentTitle)
public ContentTabSubPage removeAllDocuments()
removeAllDocuments
in class AbstractContentTabSubPage
@Deprecated public ContentTabSubPage filterDocument(String filter, int expectedNbOfDisplayedResult, int timeout)
filterDocument(String)
instead and assert in your test the
expected number of results.filter
- the string to filterpublic ContentTabSubPage filterDocument(String filter)
filterDocument
in class AbstractContentTabSubPage
filter
- the string to filterpublic ContentTabSubPage clearFilter()
AbstractContentTabSubPage
clearFilter
in class AbstractContentTabSubPage
@Deprecated public ContentTabSubPage clearFilter(int expectedNbOfDisplayedResult, int timeout)
clearFilter()
instead and assert the expected number of result in your testpublic 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 AddAllToCollectionForm addToCollectionByIndex(int... indexes)
public boolean hasNewButton()
Copyright © 2018 Nuxeo. All rights reserved.