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