Appium IOS Safari Browser Test Errors.

梦桥 · 2015年04月08日 · 最后由 恒温 回复于 2015年04月08日 · 1838 次阅读

this is Java Code :

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, MobileBrowserType.SAFARI);
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "6.1");
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone Simulator");

But ,Appium Server Stop this Step:

info: [debug] Instruments never checked in
info: [debug] Attempting to retry launching instruments, this is retry #2

info: [debug] Killall iPhoneSimulator

info: Launching instruments

info: [debug] Attempting to run app on iPhone - Simulator - iOS 6.1

info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone - Simulator - iOS 6.1" /tmp/Appium-MobileSafari-6.1.app -e UIASCRIPT "/Users/Lindows/Library/Application Support/appium/bootstrap/bootstrap-9ead2484f5a74271.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd5/InstrumentsShim.dylib","LIB_PATH":"/Volumes/Appium/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd5"}
info: [debug] And launch timeouts (in ms): {"global":90000}```
共收到 1 条回复 时间 点赞

信息不够全。再贴一些信息。客户端报了什么错误?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册