会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘佳芳
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
下一页
2022年4月30日
Python MySQLdb模块中的ping() 转载
摘要: 转自 https://www.cnblogs.com/bugmaker/articles/2444905.html MySQLdb.connection.ping()函数可以用来检测在访问前检测数据库的连接是否存在 使用help函数获得帮助信息如下: Checks whether or not th
阅读全文
posted @ 2022-04-30 19:28 刘佳芳
阅读(324)
评论(0)
推荐(0)
2022年3月21日
接口自动化小记
摘要: 框架构造 config+interface+logs+testcase config: 1、config.ini(写入配置,目前存在配置mobile,http,email) 2、readconfig(通过配置获取数据) interface:通用case logs:报错日志 testcase:执行并且
阅读全文
posted @ 2022-03-21 09:42 刘佳芳
阅读(37)
评论(0)
推荐(0)
2022年3月10日
转自 Host 'admin-PC' is not allowed to connect to this MySQL server
摘要: https://blog.csdn.net/lc547913923/article/details/45719969
阅读全文
posted @ 2022-03-10 12:09 刘佳芳
阅读(32)
评论(0)
推荐(0)
转载 MySQL8.0.忘记密码解决报 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
摘要: https://blog.csdn.net/qq_27820551/article/details/101488430
阅读全文
posted @ 2022-03-10 12:06 刘佳芳
阅读(23)
评论(0)
推荐(0)
2022年3月3日
【redis】安装及设置密码
摘要: 安装redis 转自 https://www.runoob.com/redis/redis-install.html 设置密码 转自 https://www.cnblogs.com/suanshun/p/7699084.html 密码设置完毕 提示 noauth authenticationrequ
阅读全文
posted @ 2022-03-03 14:53 刘佳芳
阅读(41)
评论(0)
推荐(0)
2022年2月22日
UI自动化 之'driver' object has no attribute 'find_element_by_id'
摘要: 更换import 导入包就行 将selenium 放在appium之前 不然会被覆盖
阅读全文
posted @ 2022-02-22 15:39 刘佳芳
阅读(379)
评论(0)
推荐(0)
2022年2月21日
UI自动化之allure测试报告
摘要: 1.下载,解压,配置path路径https://github.com/allure-framework/allure2/releaseshttps://github.com/allure-framework/allure2 path路径配置:D:\allure-2.13.8\bin验证:allure
阅读全文
posted @ 2022-02-21 14:27 刘佳芳
阅读(326)
评论(0)
推荐(0)
2022年2月18日
python自动化测试框架 unittest与pytest的区别
摘要: 转自 https://www.cnblogs.com/liudinglong/p/12846986.html 主要从用例编写规则、用例的前置和后置、参数化、断言、用例执行、失败重运行和报告这几个方面比较unittest和pytest的区别:
阅读全文
posted @ 2022-02-18 18:21 刘佳芳
阅读(38)
评论(0)
推荐(0)
python classmethod修饰符
摘要: class A(object): # 属性默认为类属性(可以给直接被类本身调用) num = "类属性" # 实例化方法(必须实例化类之后才能被调用) def func1(self): # self : 表示实例化类后的地址id print("func1") print(self) # 类方法(不需
阅读全文
posted @ 2022-02-18 17:45 刘佳芳
阅读(28)
评论(0)
推荐(0)
UI自动化之页面-上下滑动、左右滑动swipe方法操作
摘要: 1.首先看app中怎么划分横纵坐标 2.swipe函数 def swipe(self, start_x, start_y, end_x, end_y, duration=None): """Swipe from one point to another point, for an optional
阅读全文
posted @ 2022-02-18 10:17 刘佳芳
阅读(1468)
评论(0)
推荐(0)
1
2
3
4
下一页
公告