1、安装python3.7
2、配置pip源
里面有多个源,可以自己根据实际情况选择
在%appdata% 下 新建 pip文件夹 ,并在pip文件夹中新建pip.ini
在pip.ini中输入以下内容
[global]
timeout = 6000
#index-url = https://pypi.douban.com/simple
#index-url =https://pypi.tuna.tsinghua.edu.cn/simple/
#index-url =http://mirrors.aliyun.com/pypi/simple/
index-url =https://pypi.mirrors.ustc.edu.cn/simple/
[list]
format=columns
3、安装robotframeword-ride 最新版本,期间会提示是否创建快捷方式
pip install robotframework-ride==1.7.4b2
4、安装接口测试依赖包 requests
pip install robotframework-requests
扫描二维码关注公众号,回复:
7707209 查看本文章
5、修改 robotframework-ride console中文乱码
找到python安装路径的Lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py
大概在565行 将textctrl.AppendTextRaw(bytes(string, encoding['SYSTEM'])) 中的 SYSTEM改成OUTPUT