dojoSupport, WAIT_TIME_3000drone, maxPageLoadingTime, version| Constructor and Description |
|---|
DocumentLibraryPage(WebDrone drone)
Constructor
|
DocumentLibraryPage(WebDrone drone,
boolean shouldHaveFiles) |
DocumentLibraryPage(WebDrone drone,
String subfolderName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
DocumentLibraryPage |
deleteItem(String name) |
FileDirectoryInfo |
findFileOrFolder(String name)
Selects file or folder from page.
|
Integer |
getCommentCount()
The number of comments value displayed
on the span comment count.
|
List<FileDirectoryInfo> |
getFiles()
Extracts the results from result table that matches the file name.
|
DocumentLibraryNavigation |
getNavigation()
Get document library sub navigation.
|
boolean |
hasFiles()
Check to see if files exists based on a span
that displays the current page result on the paginator.
|
boolean |
hasNextPage()
Checks if pagination next button is active.
|
boolean |
hasPreviousPage()
Checks if pagination previous button is active.
|
boolean |
isDocumentLibrary()
Verify if the page viewed is the document library page.
|
boolean |
isFilesVisible()
Checks to see if files is on the page.
|
boolean |
isFileVisible(String fileName)
Checks to see if file is on the page.
|
boolean |
isSubFolderDocLib(String name)
Checks to verify if we are in the correct sub folder document library page.
|
DocumentLibraryPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
DocumentLibraryPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
DocumentLibraryPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
DocumentDetailsPage |
selectFile(String title)
Selects the title of the document link.
|
DocumentLibraryPage |
selectFolder(String title)
Selects the title of the folder link.
|
void |
selectNextPage()
Selects the button next on the pagination bar.
|
void |
selectPreviousPage()
Selects the button previous on the pagination bar.
|
getSiteNav, isSite, isSitePagebasicRender, canResume, canResume, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic DocumentLibraryPage(WebDrone drone)
public DocumentLibraryPage(WebDrone drone, boolean shouldHaveFiles)
public DocumentLibraryPage render(RenderTime timer)
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic boolean isSubFolderDocLib(String name)
public DocumentLibraryPage render()
HtmlPageHtmlPage object responsepublic DocumentLibraryPage render(long time)
HtmlPagetime - waiting timeHtmlPage page object responsepublic boolean isDocumentLibrary()
public DocumentLibraryNavigation getNavigation()
DocumentLibraryNavigation object.public List<FileDirectoryInfo> getFiles()
FileDirectoryInfo relating to resultpublic DocumentDetailsPage selectFile(String title)
title - String file titlepublic DocumentLibraryPage selectFolder(String title)
title - String folder titlepublic FileDirectoryInfo findFileOrFolder(String name)
name - identifierpublic boolean isFileVisible(String fileName)
fileName - String titlepublic boolean isFilesVisible()
public Integer getCommentCount()
Integer total number of commentspublic boolean hasNextPage()
public boolean hasPreviousPage()
public void selectNextPage()
public void selectPreviousPage()
public boolean hasFiles()
public DocumentLibraryPage deleteItem(String name)
Copyright © 2013. All Rights Reserved.