def test_01save(self): u"""保存企业办件信息""" sj = SJPage(self.driver) sj.open_sign() QSJ.code = sj.add_message("damon", "362421199303019322", "13148907967") try: message = sj.get_message() self.assertEqual("下一步", message) except Exception as e: sj.get_windows_img() raise e
def test_01save(self): u"""保存个人办件信息""" sj = SJPage(self.driver) sj.open_sign() SJ.code = sj.add_geren() #print(SJ.code) try: message = sj.get_message() self.assertEqual("下一步", message) except Exception as e: sj.get_windows_img() raise e
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_06tochenban(self): u"""点击进入承办""" sj = SJPage(self.driver) sj.enter_chenban() try: message = sj.get_message() self.assertEqual("转入审核", message) except Exception as e: sj.get_windows_img() raise e
def test_05shouli(self): u"""点击受理""" sj = SJPage(self.driver) sj.shouli() try: message = sj.get_alertmessage() self.assertEqual("受理之后,办件开始倒计时。", message) except Exception as e: sj.get_windows_img() raise e
def test_04toshouli(self): u"""点击进入受理""" sj = SJPage(self.driver) sj.enter_shouli() try: message = sj.get_message() self.assertEqual("进入承办", message) except Exception as e: sj.get_windows_img() raise e
def test_03approve(self): u"""点击进入材料审核""" sj = SJPage(self.driver) sj.enter_material("合格") try: message = sj.get_message() self.assertEqual("进入受理", message) except Exception as e: sj.get_windows_img() raise e
def test_02upload(self): u"""上传材料并填写审核结果""" sj = SJPage(self.driver) sj.upload_material("纸质材料收集完毕") try: message = sj.get_alertmessage() 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_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_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