How to select value from Native iOS Drop Down using Appium v1.8.1

Below is the screenshot of the DropDown Textfield which I want to automate:

I have extracted below element:

@iOSFindBy(xpath = “//XCUIElementTypeCell[3]/XCUIElementTypeTextField”)
IOSElement sportsTextField;

And tried below actions which were unsuccessful:

  1. sportsTextField.sendKeys(text);
  2. sportsTextField.clear();

This is my Page Source(driver.getPageSource()) of the screen where drop-down field is located: CloudTimer > IOS > Create Competition : Page Source · GitHub

Any help on this would really appreciated.

Hi,

Can you please tell me which tool to inspect element that you were added in the screenshot.