def testImportDetail(self):
        '''查看明细'''
        driver = self.driver
        loginpage = LoginPage(driver)
        loginpage.login('admin', 'admin')

        mainpage = MainPage(driver)
        mainpage.click_zdpldr()

        bbiPage = BillBIPage(driver)
        failNum = bbiPage.view_detail_and_get_failNum()
        self.assertEqual(failNum,'0')
    def testbatchImport(self):
        '''账单批量导入'''
        driver = self.driver
        loginpage = LoginPage(driver)
        loginpage.login('admin','admin')

        mainpage = MainPage(driver)
        mainpage.click_zdpldr()

        bbiPage = BillBIPage(driver)
        filePath = r'C:\Users\Hi\Downloads\20190709144305-账单模板.xls'
        bbiPage.batchImportBill(filePath)