Exemple #1
0
 def setUpClass(cls):
     cls.driver = webdriver.Firefox()
     cls.bug = ZenTaoBug(cls.driver)
     cls.a = Login(cls.driver)
     cls.a.login()
Exemple #2
0
 def setUpClass(cls):
     cls.driver = webdriver.Firefox()
     cls.zentaobug = ZenTaoBug(cls.driver)
     a = LoginPage(cls.driver)
     a.is_loginfuc()
Exemple #3
0
 def setUpClass(cls):
     cls.driver = webdriver.Chrome()
     cls.driver.maximize_window()
     cls.bug = ZenTaoBug(cls.driver)
     cls.bug.login()
Exemple #4
0
 def setUpClass(cls):
     cls.driver = webdriver.Firefox()  #打开浏览器
     cls.zentao = ZenTaoBug(cls.driver)
     cls.l = Login(cls.driver)
     cls.l.login()  #登录