Пример #1
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.RZ = Rizhi(cls.driver)
     cls.RZ.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     t.sleep(0.5)
Пример #2
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.MK = Mokuai(cls.driver)
     cls.MK.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.MK.assertion_test1()
     cls.MK.assertion_test2()
Пример #3
0
 def setUpClass(cls):
     cls.driver =browser()
     cls.JH = Rukujihua(cls.driver)
     cls.JH.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.JH.assertion_test1()
     cls.JH.assertion_test2()
 def setUpClass(cls):
     cls.JC = Jichu(cls.driver)
     cls.JC.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.JC.assertion_test1()
     cls.JC.assertion_test2()
     cls.JC.assertion_test35()
Пример #5
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.CC = Chucangruku(cls.driver)
     cls.CC.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.CC.assertion_test1()
     cls.CC.assertion_test2()
Пример #6
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.KC = Kucunguanli(cls.driver)
     cls.KC.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.KC.assertion_test1()
     cls.KC.assertion_test2()
Пример #7
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.XS = Xiaoshoudingdan(cls.driver)
     cls.XS.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.XS.assertion_test1()
     cls.XS.assertion_test2()
Пример #8
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.CG = Caigoudingdan(cls.driver)
     cls.CG.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)
     cls.CG.assertion_test1()
     cls.CG.assertion_test2()
     t.sleep(1)
Пример #9
0
 def setUpClass(cls):
     cls.driver = browser()
     cls.GR = Geren(cls.driver)
     cls.GR.open(login_url, u'登录')
     cls.driver.implicitly_wait(5)
     Global_function.login(cls)