Esempio n. 1
0
 def setUpClass(cls):
     cls.driver = open_browser()
     cls.log = Log()
     cls.configure = ChildConfigurePage(cls.driver)
     cls.login = ChildLoginPage(cls.driver)
     cls.url = read_config.url
     cls.img_path = img_path  # 必须是这个路径
 def setUpClass(cls):
     cls.driver = open_browser()
     cls.log = Log()
     cls.article = ChildArticlePage(cls.driver)
     cls.login = ChildLoginPage(cls.driver)
     cls.url = read_config.url
     cls.img_path = img_path  # 必须是这个路径
     cls.lower = False
 def setUpClass(cls):
     cls.driver = open_browser()
     cls.log = Log()
     cls.shop = ChildShopPage(cls.driver)
     cls.login = ChildLoginPage(cls.driver)
     cls.url = read_config.url
     cls.img_path = img_path  # 必须是这个路径
     cls.two = False
     cls.img = False
     cls.three = False
     cls.four = False
     cls.left = False
     cls.make = False
     cls.single = False
     cls.test = False