Appium 希望大佬们进来指点一下执行安卓自动化时遇到的问题!

默默无闻 · 2019年01月31日 · 最后由 snowLiang 回复于 2019年02月19日 · 1388 次阅读

1.环境:使用 robotframework 框架,及 ride 工具,Appium1.10.0 python==2.7.12

配置参数:Open Application http://localhost:4723/wd/hub platformName=Android platformVersion=5.1.1 resetKeyboard=True unicodeKeyboard=True automationName=UIAutomator2 noReset=True

2.进行安卓执行脚本时经常出现这种错误,本人愚钝,实在不只如何解决。
(单个单个 case 执行都是没问题的,全部执行就出现执行一半就挂掉了)

[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET

(中文意思:[WARN] 关键字'Capture Page Screenshot'无法在失败的情况下运行:WebDriverException: Message:在处理该命令时发生了未知的服务器端错误。原始错误:无法将代理命令发送到远程服务器。初始错误:错误:读取 ECONNRESET)

3.还有的第二个问题,虽然这个提升不影响执行,但是每次执行都会出现,很难受
[ WARN ] Automatically parsing other than '.robot' files is deprecated. Convert 'C:\YuShang\TastCase\Yunshangmok\ÔÆÉÌÎÒµÄ.txt' to '.robot' format or use '--extension' to explicitly configure which files to parse.

4.恳请大佬们指招,我也是最近在学习这个工具!

共收到 2 条回复 时间 点赞

第二个问题,应该是你执行的时候,手机跟电脑的连接断了吧。

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