2020年9月28日

摘要: package heyuan.RestAssuredDemo;import static org.junit.jupiter.api.Assertions.*;import org.junit.jupiter.api.BeforeAll;import static io.restassured.Re 阅读全文
posted @ 2020-09-28 09:47 shiberhou 阅读(702) 评论(0) 推荐(0) 编辑

2020年9月27日

摘要: 转:https://blog.csdn.net/sunjinjuan/article/details/82943488 阅读全文
posted @ 2020-09-27 14:49 shiberhou 阅读(529) 评论(0) 推荐(0) 编辑

2020年9月3日

摘要: 代码: #coding = utf-8 from selenium import webdriver import time ##############5-6:实现多窗口切换_start############## driver = webdriver.Chrome() driver.get('h 阅读全文
posted @ 2020-09-03 09:14 shiberhou 阅读(578) 评论(0) 推荐(0) 编辑

2020年6月30日

摘要: 代码: #coding=utf-8 from selenium import webdriver import time import requests import json from selenium.webdriver.support import expected_conditions as 阅读全文
posted @ 2020-06-30 07:52 shiberhou 阅读(744) 评论(0) 推荐(0) 编辑

2020年6月23日

摘要: #coding=utf-8 from selenium import webdriver import json import requests ##############3-12:request实现打开地址封装_start################ class requests_webdr 阅读全文
posted @ 2020-06-23 08:17 shiberhou 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 代码: #coding=utf-8 from selenium import webdriver import json import requests ##############3-12:request实现打开地址封装_start################ url = 'http://12 阅读全文
posted @ 2020-06-23 07:08 shiberhou 阅读(907) 评论(0) 推荐(0) 编辑

2020年6月20日

摘要: 代码: #coding=utf-8 from selenium import webdriver import time #IE浏览器11/IEDriverServer.exe driver = webdriver.Ie() driver.get('http://www.baidu.com/') t 阅读全文
posted @ 2020-06-20 11:03 shiberhou 阅读(933) 评论(0) 推荐(0) 编辑
摘要: 代码: #coding = utf-8 def people(age): if age>0: print("这是一个正常的人") print(get_name()) else: print("这是一个不正常的人") def get_name(): print("张三") people(10) 结果: 阅读全文
posted @ 2020-06-20 09:53 shiberhou 阅读(833) 评论(0) 推荐(0) 编辑
摘要: 代码: 结果: PS E:\30.Study\30.自动化测试\99.零基础入门 Python Web 自动化测试\10.seleniumCodePractice> & "C:/Program Files/Python38/python.exe" "e:/30.Study/30.自动化测试/99.零 阅读全文
posted @ 2020-06-20 09:25 shiberhou 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1. VS code 设置1之多行注释快捷键 转自:https://blog.csdn.net/Alive_tree/article/details/102941123 打开VSCode 1、 点击文件 -->首选项–> 键盘快捷方式 2、 在搜索框中输入comment 3、 选中要更改的快捷键名字 阅读全文
posted @ 2020-06-20 08:59 shiberhou 阅读(271) 评论(0) 推荐(0) 编辑

导航