|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.share.FactorySharePage
public class FactorySharePage
Alfresco Share factory, creates the appropriate page object that corresponds to the browser view.
| Constructor Summary | |
|---|---|
FactorySharePage()
|
|
| Method Summary | |
|---|---|
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 WebDriver browser is viewing. |
static String |
getPageName(String url)
Extracts the String value from the last occurrence of slash in the url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactorySharePage()
| Method Detail |
|---|
public static SharePage getPage(WebDrone drone)
throws PageException
WebDriver browser is viewing.
driver - WebDrone Alfresco browser client
Exception
PageException
public static final UploadFilePage getFileUpload(WebDrone drone)
throws Exception
drone - WebDrone browser client
Exception
public static final UpdateFilePage getFileUpdate(WebDrone drone,
String version)
throws PageException
drone - WebDrone browser clientString - version number of the original document
PageException
public static final CreateSitePage createSite(WebDrone drone)
throws PageException
driver - WebDriver browser client
PageExceptionpublic static final String getPageName(String url)
url - String url.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||