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 里面根据提示进行操作即可安装完成
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
2019-05-14 牛客小白月赛14 :部分题目总结