Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 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