def test_07toapproval(self): u"""点击保存承办并进入审核""" sj = SJPage(self.driver) sj.save_chenban() try: message = sj.get_message() self.assertEqual("进入批准", message) except Exception as e: sj.get_windows_img() raise e
def test_09tonext(self): u"""点击保存批准并进入办结""" sj = SJPage(self.driver) sj.save_chenban() try: message = sj.get_message() self.assertEqual("下一步", message) except Exception as e: sj.get_windows_img() raise e
def test_10tostep(self): u"""点击保存审批意见并点击下一步""" sj = SJPage(self.driver) sj.save_chenban() try: message = sj.get_message() self.assertEqual("结束", message) except Exception as e: sj.get_windows_img() raise e
def test_08took(self): u"""点击保存审核并进入批准""" sj = SJPage(self.driver) sj.save_chenban() try: message = sj.get_message() self.assertEqual("办结", message) except Exception as e: sj.get_windows_img() raise e