美文网首页
pyhton+selenium+unittest+beautif

pyhton+selenium+unittest+beautif

作者: Lyuao | 来源:发表于2019-10-24 18:31 被阅读0次

1、安装python(配置好环境变量)
2、更新pip
python -m pip install --upgrade pip
3、安装自动化测试要用的包
pip install selenium
pip install Pymysql
4、下载浏览器驱动放到python安装目录下(注意版本要与浏览器对应)
chromedriver.exe(谷歌的)
geckodriver.exe(Firefox的)
IEDriverServer.exe(IE浏览器的)
5、安装BeautifulReporta包,放到python安装目录/lib/site-packages目录下
6、安装jenkins,安装python插件
7、安装python包xmlrunner
pip install xmlrunner

相关文章

网友评论

      本文标题:pyhton+selenium+unittest+beautif

      本文链接:https://www.haomeiwen.com/subject/shvdvctx.html