public class UIAPicker extends UIAElement implements UIAutomationPicker, MobilePicker
UIAPicker
class allows access to, and control of, wheel elements within a pickerModifier and Type | Method and Description |
---|---|
List<String> |
getValuesOfWheelAtIndex(int index)
Returns a
List of String of values held by PickerWheel at the specified index |
void |
setValueOfWheelAtIndex(int index,
String value)
Sets the value to the PickerWheel at the specified index.
|
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 UIAPicker(String locator)
public List<String> getValuesOfWheelAtIndex(int index)
UIAutomationPicker
List
of String of values held by PickerWheel at the specified indexgetValuesOfWheelAtIndex
in interface MobilePicker
getValuesOfWheelAtIndex
in interface UIAutomationPicker
index
- Index of the PickerWheelList
of Stringpublic void setValueOfWheelAtIndex(int index, String value)
UIAutomationPicker
setValueOfWheelAtIndex
in interface MobilePicker
setValueOfWheelAtIndex
in interface UIAutomationPicker
index
- Index of the PickerWheelvalue
- String value to setCopyright © 2016 PayPal Open Source. All rights reserved.