摘要: http://stackoverflow.com/questions/31115502/sql-data-compare-some-tables-missingReason:Data can be compared only if you know what records from tables ... 阅读全文
posted @ 2015-11-21 09:59 isister 阅读(175) 评论(0) 推荐(0) 编辑
摘要: "there is no specific practice for diffuse thinking---one can say that it comes naturally. The only requirement is that we do focussed mode tasks and ... 阅读全文
posted @ 2015-07-21 20:38 isister 阅读(233) 评论(0) 推荐(0) 编辑
摘要: class unittest.TestSuite(tests=()) This class represents an aggregation of individul tests cases and test suites. The class presents the interface ne... 阅读全文
posted @ 2015-07-11 18:15 isister 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1. Test Casesclass unittest.TestCase(methodName='runTest')Methods:setUp() Methods called to prepare the test fixture. This is called immediately befo... 阅读全文
posted @ 2015-07-11 18:00 isister 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 官网文档地址如下:https://docs.python.org/2.7/library/unittest.html?highlight=unittest#test-casesunittest, 又叫PyUnit, 支持测试自动化,共享测试setup(setUp()方法)和shutdown(tear... 阅读全文
posted @ 2015-07-11 15:26 isister 阅读(1452) 评论(0) 推荐(0) 编辑
摘要: >>> from selenium.webdriver.common.action_chains import ActionChains>>> setting = driver.find_element_by_xpath("//div[@id='u1']/a[7]")>>> ActionChains... 阅读全文
posted @ 2015-07-08 22:48 isister 阅读(186) 评论(0) 推荐(0) 编辑
摘要: JMeter官网和help文档非常全面,有些功能和操作我还都没有用到,等有经验以后再不断更新丰富一些自己的理解。JMeter简介:JMeter是100%de JAVA桌面应用程序,用于对软件做压力测试。它最初被设计用于WEB应用测试,后来扩展到其他领域。另外,JMeter能够对应用程序做功能/回归测... 阅读全文
posted @ 2015-06-10 17:03 isister 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 用JMeter代理录制测试脚本,步骤如下:1. 启动JMeter, windows下使用jmeter.bat.2. 选中测试树种的测试计划。3. 用鼠标右键单击测试计划,添加一个新的线程组:Add->Thread Group.4. 选中线程组,单击鼠标右键, Add->Config Element-... 阅读全文
posted @ 2015-06-10 15:51 isister 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 1. 官网下载badboy软件,地址:http://www.badboy.com.au/download/index安装过程很简单,下一步下一步就好了。2. 启动badboy, 页面如下,默认Recording是打开的状态。3. 在Badboy工具栏里输入测试网址,然后按回车键。Badboy会使用内... 阅读全文
posted @ 2015-06-09 20:40 isister 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1. Handling User Sessions With URL RewritingIf your web application uses URL rewriting rather than cookies to save session information, then you'll ne... 阅读全文
posted @ 2015-06-09 10:49 isister 阅读(370) 评论(0) 推荐(0) 编辑