use*_*638 8 xcode swift xcuitest
由于找不到目标应用程序,我的XCUITest将在一个屏幕上失败:
有人可以在这里提出一些建议吗?我不明白当脚本首次登陆该屏幕时会如何找到该应用程序,但是几秒钟后,它找不到?非常感谢!
------------这是日志-----------
t = 22.83s Tap Target Application 'com.ss.bbapp'
t = 22.83s Wait for com.ss.bbapp to idle
t = 22.89s Find the Target Application 'com.ss.bbapp'
t = 23.98s Find the Target Application 'com.ss.bbapp' (retry 1)
t = 25.04s Find the Target Application 'com.ss.bbapp' (retry 2)
t = 25.21s Assertion Failure: SearchScreen.swift:219: Error getting main window kAXErrorServerNotFound
t = 25.25s Tear Down
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
272 次 |
| 最近记录: |