Exemplo n.º 1
0
 def test_05shouli(self):
     u"""点击受理"""
     process = ProcessPage(self.driver)
     process.shouli()
     try:
         message = process.get_alertmessage()
         self.assertEqual("受理之后,办件开始倒计时。", message)
     except Exception as e:
         process.get_windows_img()
         raise e
Exemplo n.º 2
0
 def test_02upload(self):
     u"""上传材料并填写审核结果"""
     process = ProcessPage(self.driver)
     process.upload_material("合格", "审核通过", "纸质材料收集完毕")
     try:
         message = process.get_alertmessage()
         self.assertEqual("保存成功", message)
     except Exception as e:
         process.get_windows_img()
         raise e