public class UIASlider extends UIAElement implements UIAutomationSlider, MobileSlider
UIASlider class allows access to, and control of, slider elements in your app| Modifier and Type | Method and Description |
|---|---|
void |
dragToValue(double value)
Drags the slider to the specified value.
|
doubleTap, findElement, getBridgeDriver, getLabel, getLocator, getName, getValue, scrollToVisible, setBridgeDriver, setLocator, tap, tapWithOptions, twoFingerTap, waitForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoubleTap, findElement, getLabel, getLocator, getName, getValue, scrollToVisible, tap, tapWithOptions, twoFingerTapfindElement, getLocator, getValue, tappublic UIASlider(String locator)
public void dragToValue(double value)
UIAutomationSliderdragToValue in interface MobileSliderdragToValue in interface UIAutomationSlidervalue - The desired decimal value from 0 to 1, inclusive. A 0 value represents far left and a value of 1
represents far right.Copyright © 2016 PayPal Open Source. All rights reserved.