随笔分类 -  自动化测试

unittest
该文被密码保护。

posted @ 2019-12-17 17:30 大象的眉毛 阅读(1) 评论(0) 推荐(0)

request的使用
摘要:路径:e:/pythonpro/liuyun/requesttest/requests01.py 还是现在终端cmd输入:pip3 install requests -i https://pypi.tuna.tsinghua.edu.cn/simple #导入requests import requ 阅读全文

posted @ 2019-12-16 15:12 大象的眉毛 阅读(230) 评论(0) 推荐(0)

元素八大定位方式
摘要:路径:e:/pythonpro/liuyun/selenium/demo1.py 1、通过ID值: 搜索框:<input id="search-input" name="wd" type="text" placeholder="其实搜索很简单^_^ !" value="" autocomplete= 阅读全文

posted @ 2019-12-14 10:52 大象的眉毛 阅读(530) 评论(0) 推荐(0)

selenium的打开网站
摘要:自动化测试分为两种:一种是UI自动化测试(selenium) :一种是接口自动化测试() selenium的步骤: 1、下载安装谷歌浏览器 2、下载谷歌的驱动() 3、安装python的selenium包(管理员模式下的终端文件) pip3 install selenium -i https://p 阅读全文

posted @ 2019-12-13 21:38 大象的眉毛 阅读(1176) 评论(0) 推荐(0)

导航