首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使用Appium运行时1.6.4运行Appium测试

无法使用Appium运行时1.6.4运行Appium测试
EN

Stack Overflow用户
提问于 2017-06-06 13:41:15
回答 2查看 128关注 0票数 0

下面是我的设置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

EN

回答 2

Stack Overflow用户

发布于 2017-11-22 15:37:10

你有什么理由把appium从1.5.3更新到1.6.4?

Appum1.6和更高版本用于自动化iOS10和更高版本,您可能会遇到版本兼容性问题。

票数 0
EN

Stack Overflow用户

发布于 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发布说明:删除长期不推荐的名称定位器策略

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44391663

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档