#10 楼 @shenkai600 招的,你自己投简历过去就可以了。
你贴得信息也少得吓人啊。 而且提示里说的很清楚 Possible causes are invalid address of the remote server, 自己先排查下问题啊
写的不错啊,补充下,
npm install -g appium
然后 appium 启动 ip 和端口 可以不用指定,使用默认就可以了。
请不要贴图! 贴代码或者日志! 谢谢!
#17 楼 @zhouxiaoyagirl 因为它是两个层级的东西。
#! /bin/bash
for s in s1 s2 s3
do
adb -s $s shell monkey -p com.example -v 500000 > $s.log
done
cts 可以 -shard
#1 楼 @starshowrly hoho~ @monkey 你可以转岗了。。
其实还有一点,防止窃屏。。。
#5 楼 @angel_ying 系统本身的漏洞
#14 楼 @zhouxiaoyagirl 你明显写错了啊。
desired_caps['app-activity'] = '.simpleactivity.SplashActivity'
你看看自己的是神马?
#5 楼 @mandy_hit android apk 的 build 可以参考 android 的发布。只要开发的签名就可以了。这是 python 脚本, python 的运行请参考 python 文档。
#6 楼 @mandy_hit assert 是你的验证框架做的啊,和 appium 无关。
这是一个 bug 已知
有必要再顶下此贴,之后新帖会被审核,如果相同问题,将删除整理至同一话题。明明有日志,贴图不贴日志的直接删贴。另外,请大家发帖前,先搜索。
翻翻以前的文章,都有的
使用的是开发者帐号编译的,开发者证书电脑上面也有
运行的时候 app 可以打开,但是闪退了,而且连续好几次闪退。
求救。
下面是 log
info: iOS SDK Version set to 7.0
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
info: Parsed app Localizable.strings
info: Not setting locale because we're using a real device
info: Not setting iOS and app preferences since we're on a real device
info: Starting iOS device log capture via idevicesyslog
info: Not setting device type since we're connected to a device
info: Creating iDevice object with udid 843bb46631ac5c1408af67ae25a48d3b2e2c4888
info: Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
info: Installing app using cmd: /Applications/Appium.app/Contents/Resources/node_modules/appium/build/fruitstrap/fruitstrap install --id 843bb46631ac5c1408af67ae25a48d3b2e2c4888 --bundle /var/folders/89/vz7ytzl53p368skgwxh9tkmw0000gn/T/114231-2055-1v0c7r1/Payload/EcoRobot.app
debug: Creating instruments
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Attempting to run app on real device with UDID 843bb46631ac5c1408af67ae25a48d3b2e2c4888
info: 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 -w 843bb46631ac5c1408af67ae25a48d3b2e2c4888 /var/folders/89/vz7ytzl53p368skgwxh9tkmw0000gn/T/114231-2055-1v0c7r1/Payload/EcoRobot.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {}
info: And launch timeout: 90000ms
info: [INST STDERR] 2014-03-31 17:00:06.277 instruments[2112:507] Permission to debug com.www.ecovacs.com.EcoRobot was denied. The app must be signed with a development identity (e.g. iOS Developer).
info: [INST STDERR] 2014-03-31 17:00:06.279 instruments[2112:507] Recording cancelled : At least one target failed to launch; aborting run
info: [INST STDERR] Instruments Trace Error : Error Domain=com.apple.instruments Code=1 "Error Starting Recording" UserInfo=0x7fe197257950 {NSLocalizedDescription=Error Starting Recording, NSLocalizedRecoverySuggestion=At least one target failed to launch; aborting run}
Instruments Trace Error : Failed to start trace.
是啊 把这个功能提交到官方去呗