TA的每日心情 | 无聊 4 天前 |
---|
签到天数: 1050 天 连续签到: 1 天 [LV.10]测试总司令
|
1测试积点
问题:
fruitstrap 命令检测 app 是否安装变得很不稳定
在用真机运行appium进行测试时,最近老是提示app没有安装,但有时能够提示app已经安装了。
目前fruitstrap命令也变的不稳定了么?
请问大家有遇到这样的问题吗?
如下,第一次就可以提示app is installed
第二次就提示错误,说是app没有安装。
- <font face="微软雅黑" size="3">pptest1tekiMac-10:~ pptest1$ sudo /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id a0ee9c874742cdd4bef1b43f148fe72068c58265 --bundle com.25pp.ppappinstaller2
- [....] Waiting for iOS device to be connected
- found device id
- found device id
- [ 0%] Found device (a0ee9c874742cdd4bef1b43f148fe72068c58265), beginning check
- App is installed!
- [100%] Check completed com.25pp.ppappinstaller2
- pptest1tekiMac-10:~ pptest1$ sudo /usr/local/lib/node_modules/appium/build/fruitstrap/fruitstrap isInstalled --id a0ee9c874742cdd4bef1b43f148fe72068c58265 --bundle com.25pp.ppappinstaller2
- [....] Waiting for iOS device to be connected
- found device id
- [ 0%] Found device (a0ee9c874742cdd4bef1b43f148fe72068c58265), beginning check
- App is installed!
- Assertion failed: (AMDeviceStartService(device, CFSTR("com.apple.afc"), &afcFd, NULL) == 0), function handle_device, file fruitstrap.c, line 523.</font>
复制代码
|
|