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