public final class FactorySharePage extends Object
| Modifier and Type | Method and Description |
|---|---|
static CreateSitePage |
createSite(WebDrone drone)
Create site pop up page object.
|
static UpdateFilePage |
getFileUpdate(WebDrone drone,
String version)
File upload page pop up object.
|
static UploadFilePage |
getFileUpload(WebDrone drone)
File upload 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.
|
public static SharePage getPage(WebDrone drone) throws PageException
WebDrone is on.drone - WebDrone Alfresco unmanned web browser clientPageException - if errorpublic static final UploadFilePage getFileUpload(WebDrone drone) throws PageException
drone - WebDrone browser clientPageException - if errorpublic static final UpdateFilePage getFileUpdate(WebDrone drone, String version) throws PageException
drone - WebDrone browser clientversion - the number of the original documentUpdateFilePage page object responsePageExceptionpublic static final CreateSitePage createSite(WebDrone drone) throws PageException
drone - WebDronePageExceptionCopyright © 2012. All Rights Reserved.