07 2015 档案

摘要:"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 阅读(260) 评论(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 阅读(289) 评论(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 阅读(416) 评论(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 阅读(1470) 评论(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 阅读(207) 评论(0) 推荐(0)