本文整理匯總了Python中test_case.page_obj.RefundPage.RefundPage.createAimRefund_Sales方法的典型用法代碼示例。如果您正苦於以下問題:Python RefundPage.createAimRefund_Sales方法的具體用法?Python RefundPage.createAimRefund_Sales怎麽用?Python RefundPage.createAimRefund_Sales使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類test_case.page_obj.RefundPage.RefundPage
的用法示例。
在下文中一共展示了RefundPage.createAimRefund_Sales方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: bb_test_8_aimRefund_Sales
# 需要導入模塊: from test_case.page_obj.RefundPage import RefundPage [as 別名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import createAimRefund_Sales [as 別名]
def bb_test_8_aimRefund_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.createAimRefund_Sales()
#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 createAimRefund_Sales [as 別名]
def step_impl(context):
refund = RefundPage(context.driver)
refund.createAimRefund_Sales()
functions.insert_img(context.driver, "CreateAimRefund_"+current_time+".png")