python的selenium+谷歌驱动+Autolt3+HTMLTestRunner+Robot Framework的安装教程

博客主要介绍自动化测试相关内容,包括使用pip安装selenium,提供谷歌浏览器驱动下载网址并说明放置位置;介绍Autolt3的下载安装步骤;给出HTMLTestRunner修改成Python3版本的参考链接,以及Robot Framework用法总结和自动化测试的参考链接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. pip install selenium

2. 驱动下载

2.1 去下载谷歌浏览器驱动,以下三个网址都可以,第一个是谷歌浏览器驱动的官网,找到和自己电脑中谷歌浏览器版本对应的驱动进行下载
http://chromedriver.storage.googleapis.com/index.html
https://www.seleniumhq.org/download/
http://npm.taobao.org/mirrors/chromedriver/
2.2 把下载好的驱动放在Python的根目录

3. 测试一下

from selenium import webdriver   
browser = webdriver.Chrome()
browser.get('http://www.baidu.com')
print browser.title
browser.quit()

4. Autolt3 下载安装

4.1. 下载
https://www.autoitscript.com/site/autoit/downloads
4.2. 安装
next-I Agree-选择32还是64-next-next-选择安装位置-对勾去掉安装完成

5. HTMLTestRunner修改成Python3版本

http://www.cnblogs.com/feiquan/p/8525903.html
https://www.cnblogs.com/sgtb/p/4169732.html

6. Robot Framework用法总结

https://www.cnblogs.com/yufeihlf/p/5949984.html

自动化测试:https://www.cnblogs.com/yufeihlf/p/5752146.html

参考:https://blog.csdn.net/GitChat/article/details/79081187

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值