当前位置: 首页>>代码示例>>Python>>正文


Python RefundPage.close方法代码示例

本文整理汇总了Python中test_case.page_obj.RefundPage.RefundPage.close方法的典型用法代码示例。如果您正苦于以下问题:Python RefundPage.close方法的具体用法?Python RefundPage.close怎么用?Python RefundPage.close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在test_case.page_obj.RefundPage.RefundPage的用法示例。


在下文中一共展示了RefundPage.close方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: test_7_approveRefund_Cash

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例2: dd_test_24_approveForceRefund_CustomerService

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例3: test_2_approveRefund_Director

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例4: dd_test_26_approveForceRefund_CFO

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例5: dd_test_21_createForceRefund_CustomerService

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例6: cc_test_20_finalApproveUrgencyRefund_Finance

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例7: cc_test_19_approveUrgencyRefund_SalesManager

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例8: cc_test_16_approveUrgencyRefund_Account

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例9: bb_test_11_approveRefund_Finance

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
    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,代码行数:10,代码来源:TC_018_Refund_testcase.py

示例10: aa_test_1_createRefund_SALES

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [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()
开发者ID:ykbfb,项目名称:DFSS_Auto_Test_BDD,代码行数:16,代码来源:TC_018_Refund_testcase.py

示例11: step_approveUrgencyRefund_Account

# 需要导入模块: from test_case.page_obj.RefundPage import RefundPage [as 别名]
# 或者: from test_case.page_obj.RefundPage.RefundPage import close [as 别名]
def step_approveUrgencyRefund_Account(context):
    #紧急退费审批--总部应收会计
    refund = RefundPage(context.driver)
    refund.approveUrgencyRefund_Accountant(Data.cmp_name)
    functions.insert_img(context.driver, "Accounttant_ApproveUrgencyRefund_"+current_time+".png")
    refund.close()
开发者ID:ykbfb,项目名称:DFSS_Auto_Test_BDD,代码行数:8,代码来源:RefundStep.py


注:本文中的test_case.page_obj.RefundPage.RefundPage.close方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。