
测试人生
文章平均质量分 50
默默踹
学习学习学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jenkins cd 到桌面未生效
启动后,cd C:\Users\FH 没报错,但是也没生效。我在cmd尝试了一下,切换从D盘切到C盘,也没生效,,所以 前面加一个 c: 就可以了。又吃了才疏学浅的亏,,,,原创 2022-09-16 09:10:13 · 621 阅读 · 0 评论 -
linux jenkins pytest allure 记录
前提:pytest 可以执行前提不行的话,看链接https://www.cnblogs.com/wuweiblogs/p/13068857.html开始配置jenkins 的allure-jenkins-plugin 安装完成在系统管理 里面增加一个环境变量$JOB_NAME 是 获取项目的名称(自带的)新建任务构建构建后操作然后就好了,注意事项:1、中间有个坑 若你的 路径后面的文件夹的名字 有 - 例如allure-report ...原创 2021-01-25 16:13:55 · 321 阅读 · 1 评论 -
python + unittest 关联testlink
你要知道testlink 是怎么玩的 你的账号是有权限的项目id--项目计划--增加版本--原创 2020-11-09 15:56:31 · 345 阅读 · 0 评论 -
git clone 443 time out
ping github.com查看github 的ip 现在是啥https://github.com.ipaddress.com/gist.github.comhttps://github.com.ipaddress.com/github.comhttps://github.com.ipaddress.com/www.github.com查看的hostsC:\Windows\System32\drivers\etc\hosts搜索Github 通过上面的url 查一...原创 2020-07-24 11:22:43 · 372 阅读 · 0 评论 -
仅取消Pycharm中SQL语句的背景色
勾掉原创 2020-06-12 17:42:44 · 609 阅读 · 0 评论 -
python 随机生成建筑工程施工许可证编号,及其规律
模仿工程许可证编号def get_project_license(area_code=None): """工程施工许可证""" project_code = { '01': '一般工业与民用建筑工程', '02': '冶金有色工业建筑安', '03': '煤炭工业建筑安装工程', '04': '石油工业建筑安装', '05': '化学工业建筑安装工程', '06': '电力工业建筑安装工',原创 2020-06-05 16:20:06 · 599 阅读 · 0 评论 -
python faker 模拟数据 笔记
from faker import Faker f = Faker(locale='zh_CN')name() 生成随机名字random_int() 整数random_digit() 0-9 的随机数字random_digit_not_null() 1-9的随机数字random_digit_or_empty() 0-9 的随机数字 或''空字符random_number(digits=None, ...原创 2018-05-31 17:35:19 · 2341 阅读 · 3 评论 -
代替firebug、path的工具
firebug不能用了吧,好巧我也不能用了,然后就出现了,我写了一个xpath,我不晓得这个xpath对不对,我想对比一下肿么办呢?然后我就像起来了$x ('')这个在控制台寻找到xpath,然后他只能返回有多少个,,而且在浏览器界面还不能标记 ,那怎么办呢?那就给找到的xpath标记颜色呗,$x ('xxxxx').style.color = 'red'实验了一下,报错那就那就琢磨琢磨然后win...原创 2018-02-24 16:40:16 · 4064 阅读 · 0 评论 -
git 笔记
1、git init2、git add .3、git commit -m "xxx"4、git remote add origin git@github.com:Project.git(初次使用,或者切换git库)5、git push -u origin 分支名 如:git push -u origin master注意事项:切换git 要去.ssh文件夹删掉key,...原创 2017-12-19 15:02:21 · 538 阅读 · 0 评论 -
python3 操作excel 写入xlsx类型文件 openpyxl
excel 的xlsx类型写入 读取原创 2017-12-12 17:50:35 · 4466 阅读 · 0 评论 -
python smtp QQ邮箱 发送附件
python smtp QQ邮箱 发送附件原创 2017-12-11 14:26:18 · 2107 阅读 · 0 评论 -
python appium Attempt to re-install io.appium.settings without first uninstalling.]解决方案
Failed to start an Appium session, err was: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\android-sdk\platform-tools\adb.exe -s MAY9X17607W10099 install "C:\Program Files (x86)\Appium\node_modules\appium\build\unicode_ime_apk\UnicodeIME-debu原创 2017-11-17 11:26:25 · 4025 阅读 · 4 评论 -
python3 调用pymysql 通过ssh 链接mysql
直接放代码 from datetime import date, timedelta, timeimport pymysqlfrom sshtunnel import SSHTunnelForwarderfrom Page.random_time import get_user_id, Typeperf = ''zld_test = ""days = 6 ...原创 2017-12-01 16:13:36 · 4760 阅读 · 1 评论