This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 3
Apr 2017

Not able to select value from pickerwheel with the following configuration:

Appium Desktop: 1.6.4
IOS Simulator: Iphone 7, OS: 10.3
appium-java-client: 5.0.00BETA7

All I have tried is:

(1)
JavascriptExecutor js = (JavascriptExecutor) driver
js.executeScript("XCUIApplication().pickerWheels[\"Position - picker\"].adjustToPickerWheelValue(\"Top\")")

(2)
((IOSDriver)driver). findElementByIosNsPredicate(format: "type CONTAINS 'PickerWheel'"). sendKeys("Top")

(3)
((IOSDriver)driver). findElementByIosNsPredicate(format: "type CONTAINS 'PickerWheel'"). setValue("Top")

Any quick help

  • created

    Apr '17
  • last reply

    Apr '17
  • 2

    replies

  • 447

    views

  • 3

    users

only way i have gotten around this, is by using the setValue on the textfield where the pickerwheel will populate, no way to reliably move that wheel as far as i know.