public final class FactorySharePage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENTLIBRARY |
static String |
NODE_REFRESH_META_DATA_IDENTIFIER |
| Modifier and Type | Method and Description |
|---|---|
static CreateSitePage |
createSite(WebDrone drone)
Create site pop up page object.
|
static UpdateFilePage |
getFileUpdate(WebDrone drone,
String version,
boolean editOffLine)
File upload page pop up object.
|
static UploadFilePage |
getFileUpload(WebDrone drone)
File upload page pop up object.
|
static SharePage |
getLibraryPage(WebDrone drone,
boolean hasFiles)
Get a share library page by its type.
|
static NewFolderPage |
getNewFolderPage(WebDrone drone)
New folder page pop up object.
|
static SharePage |
getPage(WebDrone drone)
Creates the appropriate page object based on the current page the
WebDrone is on. |
static String |
getPageName(String url)
Extracts the String value from the last occurrence of slash in the url.
|
static SharePage |
getSearchPage(WebDrone drone)
Function to resolve the Search Page.
|
static boolean |
isDocumentLibraryPage(String pageName)
Checks if pageName is document library.
|
public static final String DOCUMENTLIBRARY
public static final String NODE_REFRESH_META_DATA_IDENTIFIER
public static SharePage getPage(WebDrone drone) throws PageException
WebDrone is on.drone - WebDrone Alfresco unmanned web browser clientPageExceptionpublic static UploadFilePage getFileUpload(WebDrone drone)
drone - WebDrone browser clientrepositoryBrowsing - true if we are doing repository browsingpublic static UpdateFilePage getFileUpdate(WebDrone drone, String version, boolean editOffLine)
drone - WebDrone browser clientversion - the number of the original documenteditOffLine - mode statusUpdateFilePage page object responsepublic static CreateSitePage createSite(WebDrone drone)
drone - WebDronepublic static SharePage getSearchPage(WebDrone drone)
drone - public static boolean isDocumentLibraryPage(String pageName)
pageName - current page namepublic static String getPageName(String url)
url - String url.public static NewFolderPage getNewFolderPage(WebDrone drone)
drone - WebDrone browser clientrepositoryBrowsing - true if we are creating a folder in the Repository browserCopyright © 2013. All Rights Reserved.