摘要: 阅读全文
posted @ 2023-07-24 17:10 测试小歘歘 阅读(6) 评论(0) 推荐(0) 编辑
摘要: def contrast_excel(): l_p = [] # 小表 wb_pri = xlrd.open_workbook('/Users/bunsuketake/Desktop/台账.xls') # 打开原始文件 sheet1 = wb_pri.sheet_by_name("Sheet1") 阅读全文
posted @ 2021-12-04 20:54 测试小歘歘 阅读(115) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-"""@Time : 2021/11/16 上午9:27@Auth : 一条咸鱼@File :get_log.py@IDE :PyCharm@Motto:ABC(Always Be Coding) 获取log 的方法封装"""import logging 阅读全文
posted @ 2021-11-17 09:41 测试小歘歘 阅读(58) 评论(0) 推荐(0) 编辑
摘要: [pytest]addopts = -s --alluredir reporttestpaths = ./scriptspython_files = test01_login.pypython_classes = Test*python_functions = test* 阅读全文
posted @ 2021-11-13 21:15 测试小歘歘 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1. 下载对应的Chromedriver :http://npm.taobao.org/mirrors/chromedriver/ 2.Mac os chromedirver 位置: /usr/local/bin/ (我的是在这个目录) 3.将下载好的 chromedriver 进行替换 (我的Ch 阅读全文
posted @ 2021-09-29 10:22 测试小歘歘 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_36829091/article/details/82180866 1.查看项目路径 2.在要执行的 脚本最开始的地方 添加 import syssys.path.append('/Users/bunsuketake/Desktop/lianx 阅读全文
posted @ 2021-09-28 14:32 测试小歘歘 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1. 输入命令 brew install allure 2.如果提示: error: could not lock config file .git/config: Permission denied Error: Command failed with exit 255: git 3. 分别输入 阅读全文
posted @ 2021-09-25 13:54 测试小歘歘 阅读(434) 评论(0) 推荐(0) 编辑
摘要: PyChram配置作者,日期等信息 1、选择File Other Settings preferences for new Project File and Code Templates Python Script 2、修改信息如下: # -*- coding: utf-8 -*-"""@Time 阅读全文
posted @ 2021-06-16 15:56 测试小歘歘 阅读(64) 评论(0) 推荐(0) 编辑