摘要: 1.首先来介绍下UIAutomator工具 UIAutomator是Android官方推出的安卓应用界面自动化测试工具,是最理想的针对APK进行自动化功能回归测试的利器。 2.UIAutomator测试环境搭建 2.1 在pypi.Python.org网站下载uiautomator压缩包,解压后py 阅读全文
posted @ 2017-08-16 15:43 tomweng 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 【安装】 ConfigParser 是解析配置文件的第三方库,需要安装 pip install ConfigParser 【介绍】 ConfigParser 是用来读取配置文件(可以是.conf, .txt, .init 等格式)的包。 配置文件的格式如下:中括号“[ ]”内包含的为section。 阅读全文
posted @ 2017-04-27 19:48 tomweng 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 基本用法: import logging #初始化logger 对象 logger = logging.getLogger("main") #设置logger对象基础级别,后面的handle的级别是基于此级别上的:及如果基础级别为 warning,则后面的handle最小级别就是handle了;如果 阅读全文
posted @ 2017-03-24 10:07 tomweng 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 介绍: HTMLTestRunner 是 基于 unittest 单元测试的 HTML报告 的一个第三库 安装: 1. 安装:下载HTMLTestRunner.py文件:地址http://tungwaiyip.info/software/HTMLTestRunner.html 2、将该文件保存在py 阅读全文
posted @ 2017-03-24 10:03 tomweng 阅读(16214) 评论(0) 推荐(1) 编辑
摘要: import unittest class UTest(unittest.TestCase): def test_upper(self): self.assertEqual('foo'.upper(), 'FOO') def test_isupper(self): self.assertTrue(' 阅读全文
posted @ 2017-03-24 10:00 tomweng 阅读(2584) 评论(0) 推荐(0) 编辑
摘要: 【 Groovy Step 】 //get properties from testCase, testSuite and project in groovy step def testCaseProperty = testRunner.testCase.getPropertyValue( "MyProp" ) // testCase property def testSuitePrope... 阅读全文
posted @ 2016-06-07 17:29 tomweng 阅读(330) 评论(0) 推荐(0) 编辑
摘要: WebLOAD provides an embedded, third-party XML parser object to improve the multi-platform support for XML parsing within the WebLOAD environment. The 阅读全文
posted @ 2015-10-19 18:45 tomweng 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1. Formula for Estimating the Average Number of Concurrent usersWe begin by defining what the number of concurrent users means. But before we do, the ... 阅读全文
posted @ 2015-04-27 11:31 tomweng 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/hundredsofyears/p/3360305.html在国内性能测试的领域有一篇几乎被奉为大牛之作的经典文章,一个名叫Eric Man Wong于2004年发表了名为《Method for Estimating the Number of C... 阅读全文
posted @ 2015-04-22 10:23 tomweng 阅读(330) 评论(0) 推荐(0) 编辑
摘要: What are performance, load and stress testing?Performance testing, load testing and stress testing are three different things done for different purpo... 阅读全文
posted @ 2015-03-24 13:27 tomweng 阅读(158) 评论(0) 推荐(0) 编辑