2017-06-06 113 views
0

下面是我的建立 1. Appium服務器1.6.6-beta.2無法運行Appium測試使用Appium運行時1.6.4

用這種設置測試與以下錯誤消息的失敗:

塊引用[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

012上

您能否告訴我需要糾正的問題?在低於要點

非常感謝

更多追蹤日誌: gist.github.com/anonymous/bfb8464c0388b7bfdba567dba5f0e36a

+0

你是什麼版本的Xcode 8.3.1 – SaiPawan

+0

(8E1000a) – user2451016

+0

請在參考下列要點更多堆棧跟蹤:https://gist.github.com/anonymous/bfb8464c0388b7bfdba567dba5f0e36a – user2451016

回答

0

您更新1.5.3從任何appium有理由1.6.4?

appium 1.6及更高版本用於自動化iOS10及更高版本,並且存在版本兼容性問題,您可能會遇到。

0

其從堆棧跟蹤清楚是什麼問題:

org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.name: Create a photo book

您正在使用不支持的定位策略By.name。 Appium服務器1.5.0版本說明:Remove long-deprecated name locator strategy