Example #1
0
 def setUp(self):
     print('test start')
     self.driver = Service.get_driver('../config/base.conf')
     Service.miss_login(self.driver, '../config/base.conf')
     self.driver.find_element_by_link_text(u'资源管理').click()
     self.train = ResourceTrain(self.driver)
Example #2
0
 def setUpClass(cls):
     cls.driver = Service.get_driver('../config/base.conf')
     cls.student_info = StudentInfo(cls.driver)
Example #3
0
 def setUp(self):
     self.driver = Service.get_driver('../config/base.conf')
     Service.open_page(self.driver, '../config/base.conf')
     self.login = Login(self.driver)
Example #4
0
 def setUpClass(cls):
     cls.driver = Service.get_driver('../config/base.conf')
     cls.phase_exam = PhaseExam(cls.driver)