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 |
|---|---|
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.
|
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.
|
HtmlPage |
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, 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 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 HtmlPage selectFolder(String title)
title - String file titlepublic 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()
Copyright © 2013. All Rights Reserved.