public class FilePlanPage extends RMSitePage
dojoSupport, PROMPT_PANEL_ID, WAIT_TIME_3000drone, elementWaitInSeconds, maxPageLoadingTime, popupRendertime, version| Constructor and Description |
|---|
FilePlanPage(WebDrone drone)
Constructor.
|
FilePlanPage(WebDrone drone,
boolean hasRecords)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FileDirectoryInfo |
getFileDirectoryInfo(Integer number)
Select a particular file directory info row
based on the count, the accepted range is 1-50.
|
FileDirectoryInfo |
getFileDirectoryInfo(String title)
Select a particular file directory info row based on the title.
|
String |
getFilePlanDescription()
The file plan filter description.
|
FilePlanNavigation |
getFilePlanNavigation()
Get html element on the side of the page with
file plan sub navigation also known as filters.
|
List<FileDirectoryInfo> |
getFiles()
Extracts the results from result table that matches the file name.
|
boolean |
hasFiles()
Checks document list is populated by injecting
a javascript in to an alfresco component that
renders the document list.
|
boolean |
hasNextPage()
Checks if pagination next button is active.
|
boolean |
hasPreviousPage()
Checks if pagination previous button is active.
|
boolean |
hasRecords()
Verify if records exists.
|
boolean |
isAddRecordMetaDataVisible()
Checked if add record metadata link is visibile.
|
boolean |
isCreateNewCategoryDisplayed()
Checks visibility of create new category button
on the file plan page header.
|
boolean |
isManageRulesDisplayed()
Verify if header sub navigation has manage rules button visible.
|
FilePlanPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
FilePlanPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
FilePlanPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
CreateNewCategoryForm |
selectCreateNewCategory()
Action mimicking select click on new category button.
|
ManageRulesPage |
selectManageRules()
Action of click on manage rules button.
|
void |
selectNextPage()
Selects the button next on the pagination bar.
|
void |
selectPreviousPage()
Selects the button previous on the pagination bar.
|
getSiteNavbasicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, submit, waitForFile, waitForFile, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic FilePlanPage render(RenderTime timer)
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic FilePlanPage render(long time)
Rendertime - waiting timeHtmlPage page object responsepublic FilePlanPage render()
RenderHtmlPage object responsepublic boolean isCreateNewCategoryDisplayed()
public CreateNewCategoryForm selectCreateNewCategory()
public boolean hasRecords()
public boolean isManageRulesDisplayed()
public ManageRulesPage selectManageRules()
RMManageRulesPage page responsepublic boolean hasNextPage()
public boolean hasPreviousPage()
public void selectNextPage()
public void selectPreviousPage()
public FilePlanNavigation getFilePlanNavigation()
FilePlanNavigation side element filterpublic String getFilePlanDescription()
public FileDirectoryInfo getFileDirectoryInfo(String title)
title - String item titleFileDirectoryInfo page responsepublic FileDirectoryInfo getFileDirectoryInfo(Integer number)
number - Integer item rowFileDirectoryInfo page responsepublic List<FileDirectoryInfo> getFiles()
FileDirectoryInfo relating to resultpublic boolean hasFiles()
public boolean isAddRecordMetaDataVisible()
Copyright © 2014. All rights reserved.