Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 397 Bytes

File metadata and controls

9 lines (6 loc) · 397 Bytes

UIPickerViewTester

This is an example of how to interact with a UIPickerView using UI Testing in Xcode 7. -adjustToPickerWheelValue: method was added in Beta 6. In general,

let app = XCUIApplication()
app.launch()
app.pickerWheels.element.adjustToPickerWheelValue("Yellow")

More information on the method and UI Testing in general.