public class UIASlider extends UIAElement implements UIAutomationSlider, MobileSlider
UIASlider
class allows access to, and control of, slider elements in your appModifier 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, waitFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doubleTap, findElement, getLabel, getLocator, getName, getValue, scrollToVisible, tap, tapWithOptions, twoFingerTap
findElement, getLocator, getValue, tap
public UIASlider(String locator)
public void dragToValue(double value)
UIAutomationSlider
dragToValue
in interface MobileSlider
dragToValue
in interface UIAutomationSlider
value
- 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.