Пример #1
0
 def setUpClass(cls):
     cls.log = userlog()
     cls.logger = cls.log.get_log()
Пример #2
0
 def setUpClass(cls):
     cls.file_name = "C:\\Users\\Akien\\Desktop\\测试练习笔记\\自动化\\charpter2\\image\\code1.png"  #保存含有验证码的图片
     cls.file_name_1 = "C:\\Users\\Akien\\Desktop\\测试练习笔记\\自动化\\charpter2\\image\\code2.png"  #保存验证码图片
     cls.log = userlog()
     cls.logger = cls.log.get_log()