def test_invest_contract_no4(self): """资产详情-电子合同《出借本金确认书》验证""" entry_page = Entry_page(self.driver) electronic_contract_page = entry_page.open_Electronic_contract_page() time.sleep(1) electronic_contract_page.logic_contract_no1_click(index=3) title = electronic_contract_page.logic_get_contract_details_title() entry_page.saveScreenshot('invest_contract_no4') self.assertEquals(title, "出借本金确认书")
def test_invest_contract_no3(self): """资产详情-电子合同《授权委托书-催收及诉讼》验证""" entry_page = Entry_page(self.driver) electronic_contract_page = entry_page.open_Electronic_contract_page() time.sleep(1) electronic_contract_page.logic_contract_no1_click(index=2) title = electronic_contract_page.logic_get_contract_details_title() entry_page.saveScreenshot('invest_contract_no3') self.assertEquals(title, "授权委托书-催收及诉讼")