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()
Exemplo n.º 2
0
def step_impl(context):
    refund = RefundPage(context.driver)
    refund.createAimRefund_Sales()
    functions.insert_img(context.driver, "CreateAimRefund_"+current_time+".png")