一则uiautomation错误处理

一款iphone程序,用到了多window,结果在最后一个window里设置textfield时出错

target.frontMostApp().mainWindow().textFields()[0].textFields()[0] could not be tapped because the element is not visible
搜到一个类似提问,但无人解决
http://stackoverflow.com/questions/18898484/ui-automation-could-not-be-tapped-because-the-element-is-not-visible-ios
最终的解决方案是换模拟器
iphone6换成iphone5后问题解决

posted on 2016-05-04 10:31  小新792  阅读(294)  评论(0编辑  收藏  举报