基于Python3 Robot framework环境搭建

1 安装Python

这里不介绍,网上有很多。

 

2 安装Robot framework

pip install robotframework

当前为3.0.4,支持Python3。

 

3 安装wxPython

pip install wxPython==4.0.3

 

4 安装robotframework-ride

pip install -U https://github.com/HelioGuilherme66/RIDE/archive/gificons.zip

当前版本1.7.2.dev0。

----官方版本不支持Python3,以上是非官方版本。

 

5 安装SeleniumLibrary

pip install --upgrade robotframework-seleniumlibrary

当前版本3.1.1

 

6 安装Pygments

pip install Pygments

当前版本2.2.0

 

7 启动RIDE

1)通过文件启动(双击[dirPath]\python\Lib\site-packages\robotide下的__init__.py文件)

2)打开Scripts文件夹下ride.py文件(通过Pycharm运行或者右键使用Python打开)。

之后可以看见编辑界面。

 

 

参考:

Robot Framework的环境搭建

wxPython

robotframework

robotframework-ride

Unable to install robot-framework-ride with python 3.7

when RIDE will support python3? · Issue #1719 · robotframework/RIDE

SeleniumLibrary

Robot Framework用法总结

Pygments

转自:https://zhuanlan.zhihu.com/p/41673780

原文地址:https://www.cnblogs.com/javalinux/p/14804028.html