def test_07toapproval(self): u"""点击保存承办并进入审核""" process = ProcessPage(self.driver) process.save_chenban() try: message = process.get_message() self.assertEqual("进入批准", message) except Exception as e: process.get_windows_img() raise e
def test_08took(self): u"""点击保存审核并进入批准""" process = ProcessPage(self.driver) process.save_chenban() try: message = process.get_message() self.assertEqual("办结", message) except Exception as e: process.get_windows_img() raise e
def test_04toshouli(self): u"""点击进入受理""" process = ProcessPage(self.driver) process.enter_shouli() try: message = process.get_message() self.assertEqual("进入承办", message) except Exception as e: process.get_windows_img() raise e
def test_06tochenban(self): u"""点击进入承办""" process = ProcessPage(self.driver) process.enter_chenban() try: message = process.get_message() self.assertEqual("转入审核", message) except Exception as e: process.get_windows_img() raise e
def test_03approve(self): u"""点击进入材料审核""" process = ProcessPage(self.driver) process.enter_material("合格") try: message = process.get_message() self.assertEqual("进入受理", message) except Exception as e: process.get_windows_img() raise e
def test_10tostep(self): u"""点击保存审批意见并点击下一步""" process = ProcessPage(self.driver) process.save_chenban() try: message = process.get_message() self.assertEqual("结束", message) except Exception as e: process.get_windows_img() raise e
def test_09tonext(self): u"""点击保存批准并进入办结""" process = ProcessPage(self.driver) process.save_chenban() try: message = process.get_message() self.assertEqual("下一步", message) except Exception as e: process.get_windows_img() raise e
def test_01save(self): u"""保存办件信息""" process = ProcessPage(self.driver) process.open_model() process.sign_tab() process.add_message("damon", "362421199303019322", "13148907967") try: message = process.get_message() self.assertEqual("进入材料审核", message) except Exception as e: process.get_windows_img() raise e
def test_01save(self): u"""保存个人办件信息""" process = ProcessPage(self.driver) process.open_model() process.sign_tab() process.add_geren() try: message = process.get_message() self.assertEqual("进入材料审核", message) except Exception as e: process.get_windows_img() raise e