当前位置:网站首页>【自动化测试】——robotframework实战(一)搭建环境
【自动化测试】——robotframework实战(一)搭建环境
2022-07-17 05:21:00 【winkiii】
一、前提准备
二、下载robotframework框架
管理员模式打开cmd
下载RF
pip install robotframework 3.1
- 下载RF的开发工具RIDE(自动下载需要的库如wxPython等)
pip install robotframework-ride
- 下载RIDE需要用到的库 selenium2library
pip install robotframework-selenium2library
下载安装完成后在桌面生成RIDE的快捷方式

!!!下载安装过程中遇到的问题
- 下载wxPython时失败,报错信息:
Using legacy 'setup.py install' for wxpython,since package 'wheel' is not installed.
在 这里 下载python版本对应的wxPython(例:3.9.6下载cp39版本),下载后将该.whl文件拷贝进pytho安装目录scripts文件夹下;
然后cmd进入scripts目录运行
pip3 install wxPython-4.1.1-cp39-cp39-win_amd64.whl
提示 successfully installed wxPython-X.X.X 即可,可通过 pip list 查看当前已安装插件。
- 当前RIDE不兼容python3.9,导致下载wxPython版本失败。
运行如下命令:
pip install -U https://github.com/robotframework/RIDE/archive/master.zip -i https://mirrors.aliyun.com/pypi/simple
边栏推荐
- 政府采购如何用好成本补偿合同
- 《PyTorch深度学习实践》-B站 刘二大人-day5
- OLED data display based on spi/iic interface
- C language structure array pointer and function
- Restapi implementation of automatic completion & case implementation (search box input for automatic completion)
- Application of views and index files
- telnet安装
- Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (III)
- NAND nor flash flash flash product overview
- 小迪网络安全笔记 信息收集-CDN绕过技术(7)
猜你喜欢

STM32串口通信相关学习

How to determine the electronic gear ratio of servo motor?

Common user password encryption methods and cracking methods

Tcp/ip protocol learning

Wu Enda machine learning chapter 14-15

What is data center?

Pytorch deep learning practice-b station Liu erden-day6

Hand in hand building a home NAS universal server (1) | configuration selection and preparation

notepad++下划线以及大小写字母置换

《PyTorch深度学习实践》-B站 刘二大人-day3
随机推荐
释放nohup.out占用的磁盘空间
Loadng class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
2022-7-15 cheap domestic PLC industrial control board with scattered records of 485 master-slave communication
吴恩达机器学习第1-2章
redis
管理员阻止运行此应用
开发板训练:STM32下的多任务程序
Restapi implementation of automatic completion & case implementation (search box input for automatic completion)
Wu Enda machine learning chapter 10-11
Learning about STM assembler design
OLED data display based on spi/iic interface
Face recognition error
Application of views and index files
关于STM汇编程序设计相关学习
IDEA中@Resource爆红
5-17 hidden student services of Shaanxi University of science and technology
Get the first and last values after Oracle grouping and sorting
Dual tone sorting of CUDA and large arrays
ORACLE分组排序后获取第一条和最后一条值
C 语言结构体数组指针以及函数