
软件测试
笑笑曦
这个作者很懒,什么都没留下…
展开
-
如何尽可能的避免漏测
在总结线上问题的时候,我们发现大部分的线上问题是由于功能漏测所导致的。原本应该测试的流程没有测到,或者是根本没有考虑到一些情况,这些都会产生漏测。在大部分的产品中,漏测是难以避免的,只要不出大问题,漏测的危害会被人为的粉饰和缩小,但是在某些跟货币或货币等价物打交道的行业,漏测往往意味着经济损失,一次漏测可能会影响一群人的职业生涯,万万马虎不得。下面描述的方法可能对降低漏测有所帮助。完全理解需求站在...转载 2018-02-26 01:05:11 · 4968 阅读 · 0 评论 -
操作mysql(获取列名与值)--不同服务器
__description__='Finding data in different servers'import pymysqlimport jsonimport decimalimport datetimedb1=pymysql.connect(host="服务器地址",port=3306,user='用户名',password='密码',db='数据库名称',charset='...原创 2018-05-24 17:53:23 · 1322 阅读 · 0 评论 -
数据迁移测试方法【转】
数据迁移测试方法【转】用于学习,原文来自网络:http://softtest.chinaitlab.com/qtjs/775532.html数据迁移主要使用在新老系统到切换,主要有两种类型一种是将老系统的数据全部迁移到新系统中,业务上只使用新系统,老系统不再使用另外一种是,老系统的部分功能在新系统中暂时无法实现,但是在业务上需要使用新系统,需要将新系统中产生到数据导入到老系统到数据库中,做特殊用途...转载 2018-05-25 14:51:25 · 2898 阅读 · 1 评论 -
使用selenium webdriver从隐藏元素中获取文本
from selenium import webdriverDEMO_PAGE = '''data:text/html, <p>Demo page for how to get text from hidden elements using Selenium WebDriver.</p> <div id='demo-div'>Demo div...转载 2018-04-28 09:40:15 · 1432 阅读 · 0 评论 -
HTMLTestReportEN--python2生成HTML测试报告(英文测试报告)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E....转载 2018-04-27 15:58:08 · 793 阅读 · 0 评论 -
HTMLTestReportCN--python2生成HTML测试报告(中文测试报告)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E....转载 2018-04-27 15:57:15 · 2429 阅读 · 0 评论 -
HTMLTestReportEN--python3生成HTML测试报告(英文测试报告)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E....转载 2018-04-27 15:54:59 · 928 阅读 · 0 评论 -
HTMLTestReportCN--python3生成HTML测试报告(中文测试报告)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E....转载 2018-04-27 15:52:27 · 7295 阅读 · 0 评论 -
元素高亮
def ui_highlight(self,types,element): js='' try: if 'id'==types: js="var q=document.getElementById('"+element+"');q.style.border='3px solid red';" ...转载 2018-04-27 15:08:27 · 278 阅读 · 0 评论 -
web自动化测试之界面滑动
方法一)使用js脚本直接操作,方法如下:js="var q=document.getElementById('id').scrollTop=10000"driver.execute_script(js) 或:js="var q=document.documentElement.scrollTop=10000"driver.execute_script(js) 这里的id为滚动条...转载 2018-04-27 15:07:22 · 4363 阅读 · 0 评论 -
关于selenium启动Chrome时,加载Chrome配置的方法
下面是关于加载Chrome配置的方法:一、加载所有Chrome配置 用Chrome地址栏输入chrome://version/,查看自己的“个人资料路径”,然后在浏览器启动时,调用这个配置文件,代码如下: #coding=utf-8 from selenium import webdriver option = webdriver.ChromeOptions() option...转载 2018-04-27 13:51:58 · 5229 阅读 · 0 评论 -
HTMLTestRunnerEN.py--同时支持python2,python3(英文版)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E.g...转载 2018-05-01 23:32:04 · 392 阅读 · 0 评论 -
HTMLTestRunnerCN.py--同时支持python2,python3(中文版)
#coding=utf-8"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The simplest way to use this is to invoke its main method. E.g...转载 2018-05-01 23:30:38 · 4193 阅读 · 0 评论 -
web测试与APP测试的差异
WEB测试和App测试从流程上来说,没有区别。都需要经历测试计划方案,用例设计,测试执行,缺陷管理,测试报告等相关活动。从技术上来说,WEB测试和APP测试其测试类型也基本相似,都需要进行功能测试、性能测试、安全性测试、GUI测试等测试类型。他们的主要区别在于具体测试的细节和方法有区别,比如:性能测试,在WEB测试只需要测试响应时间这个要素,在App测试中还需要考虑流量测试和耗电量测试。兼容性测试...转载 2018-02-25 17:02:33 · 408 阅读 · 0 评论 -
接口测试 总结(什么是接口测试)
本文转载自(http://blog.youkuaiyun.com/jiary5201314/article/details/51429347)本文主要分为两个部分: 第一部分:主要从问题出发,引入接口测试的相关内容并与前端测试进行简单对比,总结两者之前的区别与联系。但该部分只交代了怎么做和如何做?并没有解释为什么要做? 第二部分:主要介绍为什么要做接口测试,并简单总结接口持续集成和接口质量评估...转载 2019-02-15 16:49:00 · 438 阅读 · 0 评论