public final class WebDroneUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E> void |
checkMandotaryParam(String paramName,
Object object)
Helper method to check the parameters.
|
static void |
saveScreenShot(WebDrone drone,
String methodName)
Grabs and stores screen shot that is currently
on view by the
WebDrone. |
public static void saveScreenShot(WebDrone drone, String methodName)
WebDrone.drone - WebDronemethodName - file name identifierpublic static <E> void checkMandotaryParam(String paramName, Object object)
E - paramName - String A name for the parameter to checkobject - Object The object to checkIllegalArgumentException - will be thrown if the parameter value is null
(for String also if the value is empty or blank)Copyright © 2014. All rights reserved.