[iOS] How to select item from a UIAPickerWheel?

Hello everybody!

I am having problem trying to select item from UIAPickerWheel.

I need to fill a form, and it have a date field, that when I click on, it shows three wheels (date, month, year).

I spy object, and extract its XPATH. I already tried to use commands such as “FindElement and Click”; “FindElement and Swipe”; “FindElement and SelectElement” but without success.

Please, can someone help me with this? Thanks in advance!

Hi

We are currently working on implementation for Appium driver, in the meantime you can work with one of our commands setPickerValue)

to use a client command you can do

Client client = ((SeeTestIOSDriver) driver).getClient();

//Example
client.setPickerValue(“NATIVE”,“xpath=//*[@knownSuperClass=‘UIPickerView’”,0,1,“Sunday”)

In the upcoming version we will aslo support Appium implementation as described :

Hi, any progress about this?
Thanks!

Any updates on this, Since we need to select date in most of the forms, it would be helpful if someone gives a solution for this!!! Thanks in Advance.