|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.WebDroneUtil
public final class WebDroneUtil
Utility to handle operations and actions relating to share sites.
| Method Summary | |
|---|---|
static HtmlPage |
loginAs(WebDrone drone,
String url,
String... userInfo)
Logs user into share. |
static void |
logout(WebDrone drone)
Logs user out, by using a restful approach. |
static void |
saveScreenShot(WebDrone drone,
String methodName)
Grabs and stores screen shot that is currently on view by the WebDrone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void logout(WebDrone drone)
Exception
public static HtmlPage loginAs(WebDrone drone,
String url,
String... userInfo)
throws PageException
drone - WebDroneurl - Share urluserInfo - username and password
HtmlPage page response
PageException - if error
public static void saveScreenShot(WebDrone drone,
String methodName)
WebDrone.
drone - WebDronemethodName - file name identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||