该文被密码保护。 阅读全文
posted @ 2022-07-12 21:11 hanyr 阅读(0) 评论(0) 推荐(0)
摘要: *** Settings *** Library DateTime Library Selenium2Library Library RequestsLibrary *** Test Cases *** 接口自动化 ${headers} Create Dictionary Content-Type= 阅读全文
posted @ 2022-07-10 18:10 hanyr 阅读(117) 评论(0) 推荐(0)
摘要: *** Settings *** Library DateTime Library Selenium2Library Library RequestsLibrary *** Test Cases *** UIWeb自动化 Open Browser https://novel.hctestedu.co 阅读全文
posted @ 2022-07-10 18:09 hanyr 阅读(47) 评论(0) 推荐(0)
摘要: *** Settings *** Library DateTime Library Selenium2Library Library RequestsLibrary *** Test Cases *** testcase log helloword! ${variable} Set Variable 阅读全文
posted @ 2022-07-10 18:08 hanyr 阅读(33) 评论(0) 推荐(0)
摘要: 当前版本3.0运行时报错:AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath' 解决:pip3 install selenium==4.0 -i https://pypi.tuna.tsinghua. 阅读全文
posted @ 2022-07-10 16:17 hanyr 阅读(632) 评论(0) 推荐(0)
摘要: 1、自动化测试框架盘点 java:junit和testng 工具:postman,jmeter python:robotframework、unittest、pytest 2、安装robotframework 1)python3.7.x环境 2)更新pip命令 python -m pip insta 阅读全文
posted @ 2022-07-10 15:42 hanyr 阅读(60) 评论(0) 推荐(0)
摘要: 1、安装 pip3 install robotframework-selenium2library -i https://pypi.tuna.tsinghua.edu.cn/simple pip3 install robotframework-seleniumlibrary==3.0.0 -i ht 阅读全文
posted @ 2022-07-10 15:41 hanyr 阅读(40) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2022-07-05 21:52 hanyr 阅读(0) 评论(0) 推荐(0)
摘要: # -*- coding:utf-8 -*- # 1、拿取出页面的源代码,然后提取到子页面的链接地址,href # 2、通过href拿到子页面内容,从子页面找到图片下载地址 img->src # 3、下载图片 import requests from bs4 import BeautifulSoup 阅读全文
posted @ 2022-06-12 20:16 hanyr 阅读(75) 评论(0) 推荐(0)
摘要: # -*- coding:utf-8 -*- import requests import csv from bs4 import BeautifulSoup url = "http://www.xinfadi.com.cn/priceDetail.html" resp = requests.get 阅读全文
posted @ 2022-06-12 18:58 hanyr 阅读(25) 评论(0) 推荐(0)