iOS 用户界面测试 : Failure getting list of active applications: AX error -25205

标签 ios xcode-ui-testing

我仍在学习如何正确使用 UI 测试。

我在后台登录,然后在我的新闻提要中显示结果。然后,我点击更多按钮。当有网络服务时,我似乎无法从我的 api 获得结果。它总是像这样失败,并且也没有显示来 self 的 api 的数据。我该怎么办?

enter image description here

最佳答案

我在使用模拟器时遇到了同样的问题。我尝试在设备上运行测试用例,它工作正常。所以在实际设备上运行,看看是否出现错误。

关于iOS 用户界面测试 : Failure getting list of active applications: AX error -25205,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36133484/

相关文章:

push-notification - 我可以使用 Xcode 的 UI 测试来检查推送通知吗?

ios - 如何在 iOS 中检查文本是否被选中以及十字按钮是否被按下?

objective-c - 使用捏合缩放但不使用变换方法

swift - XCUITest 中是否有与 'exists' 相反的内容

testing - 如何在 Xcode UI 测试脚本中执行点击和拖动?

ios - Xcode UI 测试错误键盘

ios - currentplacewithcallback 未在 google place iOS api 中调用

ios - AJAX 服务被 Google 屏蔽了吗?

cocoa-touch - 在 applicationDidEnterBackground : - screenshot problem 中隐藏键盘

ios - 保存从 XCUIScreenshot 函数捕获的屏幕截图