robotframework报错

问题一:RobotFramework RIDE在运行测试用例时无法打开谷歌浏览器,原因是1、安装ride时没有安装chromedriver驱动   2、驱动版本与本机浏览器不兼容

解决方法:在python27下面把下载好的驱动复制进去即可。

所有chromedriver版本号均可在下面链接中下载到:

http://chromedriver.storage.googleapis.com/index.html

下载与自己浏览器版本对应的chromedriver版本,将chromedriver.exe插件放到python目录下即可      (  IE 的驱动为:IEDriverServer.exe)

 

 

 

问题二:ride报 Automatically parsing other than '*.robot' files is deprecated. Convert 'D:\Pythonp\Robot Framework\

原因:套件文件格式不对,在suite上右击选中change formate →选择robot 即可

 

 

 

posted @ 2020-01-16 13:51  勇气1  阅读(444)  评论(0编辑  收藏  举报