當前位置: 首頁>>代碼示例>>Python>>正文


Python RefundPage.RefundPage類代碼示例

本文整理匯總了Python中test_case.page_obj.RefundPage.RefundPage的典型用法代碼示例。如果您正苦於以下問題:Python RefundPage類的具體用法?Python RefundPage怎麽用?Python RefundPage使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了RefundPage類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: dd_test_24_approveForceRefund_CustomerService

    def dd_test_24_approveForceRefund_CustomerService(self):
        self.user_login_verify(username='sunquan',password='123456',city='suzhou')

        refund = RefundPage(self.driver)
        refund.approveForceRefund_Finance(Data.force_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例2: dd_test_21_createForceRefund_CustomerService

    def dd_test_21_createForceRefund_CustomerService(self):
        self.user_login_verify(username='chenxiang5134',password='123456',city='shanghai')

        refund = RefundPage(self.driver)
        refund.createForceRefund(Data.force_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例3: cc_test_20_finalApproveUrgencyRefund_Finance

    def cc_test_20_finalApproveUrgencyRefund_Finance(self):
        self.user_login_verify(username='sunquan',password='123456',city='suzhou')

        refund = RefundPage(self.driver)
        refund.final_ApproveUrgencyRefund_Finance(Data.ur_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例4: cc_test_19_approveUrgencyRefund_SalesManager

    def cc_test_19_approveUrgencyRefund_SalesManager(self):
        self.user_login_verify(username='wangweiwei',password='123456',city='suzhou')

        refund = RefundPage(self.driver)
        refund.approveUrgencyRefund_SalesManager(Data.ur_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例5: dd_test_26_approveForceRefund_CFO

    def dd_test_26_approveForceRefund_CFO(self):
        self.user_login_verify(username='lingju',password='123456',city='shanghai')

        refund = RefundPage(self.driver)
        refund.approveForceRefund_CFO(Data.force_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例6: test_7_approveRefund_Cash

    def test_7_approveRefund_Cash(self):
        self.user_login_verify(username='yangshuai',password='123456',city='shanghai')

        refund = RefundPage(self.driver)
        refund.approveRefund_Cashier(Data.cmp_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例7: bb_test_11_approveRefund_Finance

    def bb_test_11_approveRefund_Finance(self):
        self.user_login_verify(username='sunquan',password='123456',city='suzhou')

        refund = RefundPage(self.driver)
        refund.approveAimRefund_Finance()
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例8: cc_test_16_approveUrgencyRefund_Account

    def cc_test_16_approveUrgencyRefund_Account(self):
        self.user_login_verify(username='duanxuesa',password='123456',city='shanghai')

        refund = RefundPage(self.driver)
        refund.approveUrgencyRefund_Accountant(Data.ur_clt_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例9: test_2_approveRefund_Director

    def test_2_approveRefund_Director(self):
        self.user_login_verify(username='pengxiaoli',password='123456',city='suzhou')

        refund = RefundPage(self.driver)
        refund.approveRefund_Director(Data.cmp_name)
        #self.assertEqual(my_client.search_by_fuzzy(), '需求書修改有限公司')
        functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png")
        refund.close()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:8,代碼來源:TC_018_Refund_testcase.py

示例10: aa_test_1_createRefund_SALES

    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()
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:14,代碼來源:TC_018_Refund_testcase.py

示例11: step_approveForceRefund_Accountant

def step_approveForceRefund_Accountant(context):
    # 強製退費審批--總部應收會計
    refund = RefundPage(context.driver)
    refund.approveForceRefund_Accountant(Data.cmp_name)
    functions.insert_img(context.driver, "Accountant_ApproveForceRefund_"+current_time+".png")
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:5,代碼來源:RefundStep.py

示例12: step_approveForceRefund_Finance

def step_approveForceRefund_Finance(context):
    # 強製退費審批--分公司財務
    refund = RefundPage(context.driver)
    refund.approveForceRefund_Finance(Data.cmp_name)
    functions.insert_img(context.driver, "Finance_ApproveForceRefund_"+current_time+".png")
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:5,代碼來源:RefundStep.py

示例13: step_createMenberRefund

def step_createMenberRefund(context):
    '''顧問創建新退費'''
    refund = RefundPage(context.driver)
    refund.createRefund()
    functions.insert_img(context.driver, "CreateMemberRefund_"+current_time+".png")
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:5,代碼來源:RefundStep.py

示例14: step_approveForceRefund_ServiceDirector

def step_approveForceRefund_ServiceDirector(context):
    #強製退費審批--客服總監
    refund = RefundPage(context.driver)
    refund.approveForceRefund_ServiceDirector(Data.cmp_name)
    functions.insert_img(context.driver, "ServiceDirector_ApproveForceRefund_"+current_time+".png")
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:5,代碼來源:RefundStep.py

示例15: step_impl

def step_impl(context):
    refund = RefundPage(context.driver)
    refund.approveAimRefund_Finance()
    functions.insert_img(context.driver, "Finance_ApproveAimRefund_"+current_time+".png")
開發者ID:ykbfb,項目名稱:DFSS_Auto_Test_BDD,代碼行數:4,代碼來源:RefundStep.py


注:本文中的test_case.page_obj.RefundPage.RefundPage類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。