【发布时间】:2017-02-20 21:04:14
【问题描述】:
我正在尝试选择picker的一个元素,picker有Accessibility = picker_station,我为什么可以这样做?有什么问题吗?或者我需要使用其他代码。
let app = XCUIApplication()
app.pickers["picker_station"].pickerWheels.element.adjust(toPickerWheelValue: "Aberdeen")
xcode 错误是:
Testing Failure - Internal error: unable to find current value '1 of 152' in possible values
谢谢
【问题讨论】:
标签: ios swift xcode8 xcode-ui-testing