Esempio n. 1
0
def close_and_save():
    """save the result to excel and quit the app"""
    logger.after_test('Finish YY Fin loging test')
    wb.save('test_result/login_test_result.xlsx')
    logger.info('Save the testing results to login_test_result.xlsx')
    wd.quit()
    logger.info('Close testing APP')
    logger.end_testcase()
Esempio n. 2
0
 def test_search(self):
     u"""测试Bing搜索功能"""
     logger.start_testcase('Bing test case')
     logger.info('test bing search')
     logger.end_testcase()
     self.assertEqual(True, True)
Esempio n. 3
0
 def test_search(self):
     u"""测试Google搜索功能"""
     logger.start_testcase('google test case')
     logger.info('test google search')
     logger.end_testcase()
     self.assertEqual(True, True)
Esempio n. 4
0
 def test_search(self):
     u"""测试百度搜索功能"""
     logger.start_testcase('Baidu test case')
     logger.info('test baidu search')
     logger.end_testcase()
     self.assertEqual(True, True)