public class UiSlider extends UiObject implements MobileSlider
UiSlider represents a Slider widget for Android UI automation framework.| Modifier and Type | Method and Description |
|---|---|
void |
dragToValue(double value)
it is not accurate and is best to used only for setting value to 0 or 1, otherwise the result is close to parameter
|
clearText, click, clickBottomRight, clickTopLeft, findElement, getBridgeDriver, getLocator, getText, getValue, isCheckable, isChecked, isClickable, isEnabled, isFocusable, isFocused, isLongClickable, isScrollable, isSelected, longClick, longClickBottomRight, longClickTopLeft, setText, swipeDown, swipeLeft, swipeRight, swipeUp, tap, waitForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindElement, getLocator, getValue, tappublic UiSlider(String locator)
public void dragToValue(double value)
dragToValue in interface MobileSlidervalue - The desired decimal value from 0 to 1, inclusive. 0 represents far left and 1 represent far right.Copyright © 2016 PayPal Open Source. All rights reserved.