坑1、点击绑定按钮,跳转到第三方支付界面,支付完后自动跳转回app。问题:定位跳转后的界面,有时候定位不到元素,定位的是整个界面,有时候可以定位到某个元素
Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
解决办法:
重启手机后解决,手机关于appium的某个进程没有中断
坑2、当把 “noReset”: “False” 改为 true后,再次跑用例直接报错:BadParametersError: Parameters were incorrect. We wanted “MJSONWP protocol requires type and ms” and you sent {“implicit”:15000}
解决:不是大写的 False ,而是小写的 false
坑3、突然初始化失败?
解决:检查USB权限开了没,关掉重新打开下,打开资料互传权限,重新插拔下,重新启动下 sonic-agent