会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
苍耳冬阳
博客园
首页
新随笔
联系
管理
订阅
2023年5月31日
python 切片
摘要: Python列表切片Python中符合序列的有序序列都支持切片(slice),例如列表,字符串,元组。切片操作基本表达式:object[start_index : end_index : step] 切片表达式包含两个":" ,用于分隔三个参数(start_index、end_index、step)
阅读全文
posted @ 2023-05-31 10:20 苍耳冬阳
阅读(83)
评论(0)
推荐(0)
2022年3月4日
循环dict操作中的一些常用问题
摘要: check_td = {'TargetApplication': TargetApplication,'UserId': UserId, 'UserName': UserName, 'CreatedDate': date, 'LastRetryDate': LastRetry_Date, 'Numb
阅读全文
posted @ 2022-03-04 14:41 苍耳冬阳
阅读(78)
评论(0)
推荐(0)
2022年3月1日
mongo&SqlServer
摘要: 操作mongoDB 和SQLServerDB的方法 import traceback, pyodbcfrom pymongo import MongoClientfrom pymongo.errors import ConnectionFailurefrom Utilities.logger imp
阅读全文
posted @ 2022-03-01 12:26 苍耳冬阳
阅读(116)
评论(0)
推荐(0)
元素定位
摘要:
阅读全文
posted @ 2022-03-01 12:24 苍耳冬阳
阅读(17)
评论(0)
推荐(0)
用例失败重跑
摘要: http://t.zoukankan.com/crystal1126-p-12580953.html https://www.csdn.net/tags/MtTaIgysODA4MzE2LWJsb2cO0O0O.html https://blog.csdn.net/qq_39208536/artic
阅读全文
posted @ 2022-03-01 10:14 苍耳冬阳
阅读(35)
评论(0)
推荐(0)
Selenium 小技巧
摘要: 浏览器后台执行测试用例options = webdriver.ChromeOptions()###web浏览器后台执行options.add_argument('headless')
阅读全文
posted @ 2022-03-01 09:59 苍耳冬阳
阅读(22)
评论(0)
推荐(0)
2022年2月26日
postman 全局变量设置
摘要: 设置全局变量 方法一: 导入环境变量的json文件 home--Environments--Globals--import--select json feil 方法二: Collections-API-Pre-request Script- dev getToken code const getAm
阅读全文
posted @ 2022-02-26 10:15 苍耳冬阳
阅读(193)
评论(0)
推荐(0)
python 内存优化1(给类添加__slots__属性)
摘要: 创建大量的对象 对于主要当成简单的数据结构类而言,通过添加__slots__属性来极大的减少实例所占用的内存eg: class Date: __slots__ = ['year', 'month', 'day'] def __init__(self, year, month, day): self.
阅读全文
posted @ 2022-02-26 09:51 苍耳冬阳
阅读(66)
评论(0)
推荐(0)
2019年5月21日
接口测试
该文被密码保护。
阅读全文
posted @ 2019-05-21 17:11 苍耳冬阳
阅读(1)
评论(0)
推荐(0)
公告