def test_approvalteps04(self): """编辑流程步骤""" appstep = AppStepsPage(self.driver) appstep.edit_step("自动化步骤", "自动步骤") try: message = appstep.get_message() self.assertEqual("编辑审批流程步骤成功!", message) except Exception as e: appstep.get_windows_img() raise e
def test_approvalteps05(self): """删除流程步骤""" appstep = AppStepsPage(self.driver) appstep.delete_step("自动步骤") try: message = appstep.get_message() self.assertEqual("删除审批流程步骤成功!", message) except Exception as e: appstep.get_windows_img() raise e
def test_approvalteps01(self): """新增流程步骤""" appstep = AppStepsPage(self.driver) appstep.add_step("自动化步骤", "测试科", "测试专用步骤") try: message = appstep.get_message() self.assertEqual("新增审批流程步骤成功!", message) except Exception as e: appstep.get_windows_img() raise e