Exemplo 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()
Exemplo 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)
Exemplo 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)
Exemplo 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)