0
我使用UIAutomation和仪器为我的UI测试,当我试图挖掘一些字母,仪器返回我一个错误:UIAutomation未能轻按一键
Script threw an uncaught JavaScript error: target.frontMostApp().keyboard() failed to tap 'V' on line 27
部分代码:
passwordField.tap();
target.frontMostApp().keyboard().typeString("VEMO");
有没有人有关于它的一些想法?
感谢
在点击密码字段和输入字符串帮助之间是否添加了延迟?显示键盘的动画大约需要0.33秒才能完成。 – Ian