public class MobileElementCommonHelper
Modifiers | Name | Description |
---|---|---|
static int |
DEFAULT_TAP_DURATION |
Type Params | Return Type | Name and description |
---|---|---|
|
public static boolean |
checkDuration(Number duration) |
|
public static void |
checkElement(TestObject to, int timeout) |
|
public static void |
dragAndDrop(TestObject fromObj, TestObject toObj, int timeout) |
|
public static WebElement |
findElement(TestObject to, int timeOut) |
|
public static WebElement |
findElementWithCheck(TestObject to, int timeout) |
|
public static int |
getElementHeight(TestObject to, int timeout) |
|
public static int |
getElementLeftPosition(TestObject to, int timeout, FailureHandling flowControl) |
|
public static int |
getElementTopPosition(TestObject to, int timeout, FailureHandling flowControl) |
|
public static int |
getElementWidth(TestObject to, int timeout) |
|
public static String |
getStringForDuration(Number duration) |
|
public static boolean |
isElementChecked(WebElement element) |
|
public static boolean |
isElementChecked(TestObject to, int timeout) |
|
public static void |
moveSlider(TestObject to, Number percent, int timeout) |
|
public static void |
selectItemByIndex(TestObject to, int index, int timeout, FailureHandling flowControl) |
|
public static void |
selectListItemByLabel(TestObject to, String label, int timeout, FailureHandling flowControl) |
|
public static void |
tapAndHold(TestObject to, Number duration, int timeout) |
|
public static void |
tapAndHold(Number x, Number y, Number duration) |
|
public static void |
tapAtPosition(Number x, Number y) |
|
public static void |
uncheckElement(TestObject to, int timeout) |