下面是我的设置1.Appium Server 1.6.6-beta.2
使用此设置测试失败,有以下错误消息:
区块引号
[debug] [iOSSim] Killing all iOS Simulators [debug] [iOSSim] Using fkill to kill processes: 285 [XCUITest] AggregateError: Error: Killing process 285 failed: Operation not permitted at Promise.all.then (/usr/local/lib/node_modules/appium/node_modules/fkill/index.js:41:10) at AggregateError (/usr/local/lib/node_modules/appium/node_modules/aggregate-error/index.js:19:3) at Promise.all.then (/usr/local/lib/node_modules/appium/node_modules/fkill/index.js:41:10) at process._tickCallback (internal/process/next_tick.js:109:7) { AggregateError: Error: Killing process 285 failed: Operation not permitted at Promise.all.then (/usr/local/lib/node_modules/appium/node_modules/fkill/index.js:41:10) at AggregateError (/usr/local/lib/node_modules/appium/node_modules/aggregate-error/index.js:19:3) at Promise.all.then
但是,在旧的Appium IDE版本1.5.3 (Ara)上运行的测试都很好,可以在同一台机器上获得MacOS塞拉利昂10.12.3。
你能告诉我什么需要纠正吗?
非常感谢
更多跟踪量见下面的gist:gist.github.com/anonymous/bfb8464c0388b7bfdba567dba5f0e36a
发布于 2017-11-22 15:37:10
你有什么理由把appium从1.5.3更新到1.6.4?
Appum1.6和更高版本用于自动化iOS10和更高版本,您可能会遇到版本兼容性问题。
发布于 2017-11-22 23:13:42
从堆栈跟踪中可以看出,问题是什么:
org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.name: Create a photo book
您正在使用不支持的定位器策略By.name。Appium服务器1.5.0发布说明:删除长期不推荐的名称定位器策略
https://stackoverflow.com/questions/44391663
复制相似问题