本文整理匯總了Python中test_case.page_obj.RefundPage.RefundPage.approveRefund_CFO方法的典型用法代碼示例。如果您正苦於以下問題:Python RefundPage.approveRefund_CFO方法的具體用法?Python RefundPage.approveRefund_CFO怎麽用?Python RefundPage.approveRefund_CFO使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類test_case.page_obj.RefundPage.RefundPage
的用法示例。
在下文中一共展示了RefundPage.approveRefund_CFO方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: test_6_approveRefund_CFO
# 需要導入模塊: from test_case.page_obj.RefundPage import RefundPage [as 別名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import approveRefund_CFO [as 別名]
def test_6_approveRefund_CFO(self):
self.user_login_verify(username='lingju',password='123456',city='shanghai')
refund = RefundPage(self.driver)
refund.approveRefund_CFO(Data.cmp_name)
#self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
refund.close()
示例2: step_impl
# 需要導入模塊: from test_case.page_obj.RefundPage import RefundPage [as 別名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import approveRefund_CFO [as 別名]
def step_impl(context):
'''CFO審批新退費'''
refund = RefundPage(context.driver)
refund.approveRefund_CFO(Data.cmp_name)
functions.insert_img(context.driver, "CFO_ApproveMemberRefund_"+current_time+".png")