当前位置:网站首页>【自动化测试】——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
边栏推荐
- Why do solution providers "love" CS Genesis SD NAND
- C language structure array pointer and function
- Wu Enda machine learning chapter 3-4
- Wu Enda machine learning chapter 14-15
- Vcenter6.7 installation and troubleshooting
- Quelques concepts de base dans le réseau
- 锁
- Automatic completion & (custom) Pinyin word Separator &
- Common user password encryption methods and cracking methods
- Depth first search (DFS for short)
猜你喜欢

吴恩达机器学习第8-9章

STM32 serial communication related learning

锁

Loadng class `com. mysql. jdbc. Driver‘. This is deprecated. The new driver class is `com. mysql. cj. jdb
![[jmeter] TCP Sampler](/img/ac/3b08db8808d84eb144262d78880050.png)
[jmeter] TCP Sampler

mass data

Introduction to daily use of manjaro system

TCP/IP四层模型以及F5部分相关配置

Talk about Zhongtai: my understanding and thinking about Zhongtai

How can the new generation of CS sdnand (also known as patch T card) make the old MCU youthful
随机推荐
常见的用户密码加密方式以及破解方法
开发板训练:STM32下的多任务程序
Openssl--- stack
高并发day04(ZAB协议,观察者,nc,AVRO,RPC)
聊聊中台:我对中台的一些理解与思考
wireshark抓包:报文信息
Temperature acquisition experiment and experimental experience based on I2C
STM32串口通信相关学习
oracle中merge into 与update的性能对比
政府采购如何用好成本补偿合同
小迪网络安全-笔记(5)
什么是数据中台?
企业数据治理之勒索病毒篇
《PyTorch深度学习实践》-B站 刘二大人-day7
tail -f暂停方法
Some basic concepts in network
Huawei routing port mapping
翻转链表
wireshark抓包:错误分析
吴恩达机器学习第1-2章