其他分享
首页 > 其他分享> > 1. RobotFramework 环境搭建

1. RobotFramework 环境搭建

作者:互联网

RobotFramework 框架介绍

以下描述摘自 RobotFramework 官网

Robot Framework is a generic open source automation framework. It can be used for test automation and robotic process automation (RPA).

Robot Framework is supported by Robot Framework Foundation. Many industry-leading companies use the tool in their software development.

Robot Framework is open and extensible. Robot Framework can be integrated with virtually any other tool to create powerful and flexible automation solutions. Robot Framework is free to use without licensing costs.

Robot Framework has an easy syntax, utilizing human-readable keywords. Its capabilities can be extended by libraries implemented with Python, Java or many other programming languages. Robot Framework has a rich ecosystem around it, consisting of libraries and tools that are developed as separate projects.

RobotFramework 安装

因为 RobotFramework 也是 Python 的一个框架,所以可以使用 Python 包管理工具进行安装。以 pip 为例,安装命令是 pip install robotframework,直接在终端执行即可。

PS C:\Users\Jathon> pip install robotframework
Collecting robotframework
  Downloading robotframework-5.0-py3-none-any.whl (638 kB)
     |████████████████████████████████| 638 kB 262 kB/s
Installing collected packages: robotframework
Successfully installed robotframework-5.0

看到以上信息就说明安装成功了,可以通过 robot --version 命令查看当前版本进行验证。

PS C:\Users\Jathon> robot --version
Robot Framework 5.0 (Python 3.9.7 on win32)

RobotFramework 编辑器安装

RobotFramework 官网 中可以找到官方推荐的一些编辑器或者插件

因为我使用的 Python 编辑器是 PyCharm 所以就选择使用 PyCharm 的插件 Language Server for PyCharm

网站会检测 PyCharm 安装情况,直接点击 Install To PyCharm 对应版本的标签安然到 PyCharm 里面根据提示进行操作即可安装完成

标签:Python,环境,Robot,RobotFramework,Framework,robotframework,PyCharm,搭建
来源: https://www.cnblogs.com/Jathon-cnblogs/p/16269211.html