- 博客(6)
- 资源 (6)
- 收藏
- 关注
原创 POSTMAN tests 简单记录
tests[状态码验证"]=responseCode.code===200||responseCode.code===201;tests["响应时间小于200ms"]=responseTimetests["Content-Type 是否存在"] =postman.getResponseHeader("Content-Type");tests["正文中是否有"
2017-10-17 16:29:53 945
原创 Tesseract-OCR识别图片验证码
尝试用tessert识别图片验证码,安装了Tesseract-OCR, cmd下 : tesseract d:/test/test.png d:/test/result 下图就是成功: 对于规则的可以识别出来,但是斜体的不能识别出来这样的识别不出来(图片锐化过,对比度调整)这样的是可以识别
2017-09-21 13:35:23 690 2
原创 APPIUM 框架简述
IOS 原理: 测试脚本执行后,执行的命令是以json的格式传给appium server,appium server 把命令传递给 APPLE instruments,bootstrap.js会执行命令,执行后返回给appium server。andriod 原理: 同理
2017-08-13 22:55:20 405
原创 6月15日 smtp
http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000遇到的问题一:error 500,没有权限,需要在邮箱中心设置启用smtp服务遇到的问题二:error 554 被认为发
2017-06-16 11:27:51 249
原创 6月14日 了解unittest、输出测试报告
官方提供的htmltestrunner.py是python 2,需要修改源码的部分代码才可以使用,虫师的书上有提到。 遇到的问题一: if __name__='__main__' 中 main指的是当前执行脚本test.py,如果在A.py中导入test.py,执行A.py,__name__=‘__A__’,每一个模块存在系统变量__name_(注:1.A.py执行的时候,
2017-06-14 22:56:47 370
原创 6月13日--元组传参、pageobject
今天主要是用了pageobject设计模式,对于这种模式,我的理解是每个待测页面当成一个独立的部分,每个页面的操作在每个页面定义,在unittest的testcase中的逻辑只体现用户的操作流程,比如,登录这个事件,定位用户名、密码并输入这些细节操作放在page.class中定义,testcase中只要调用登录的函数即可。每个页面都有的通用操作,可以在Pagebase中定义,每个页面继承Pageb
2017-06-14 09:33:20 268
Apress Foundations of CentOS Linux, Enterprise Linux On the Cheap
2019-02-28
geckodriver(selenium3 火狐浏览器)
2017-09-05
Performance Testing with Jmeter
2017-09-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人