def tearDownClass(self): time.sleep(10) App.quit()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.switchUser = SwitchUser() globals()["alreadyLogin"] = False # 是否登录来控制执行不同的用例
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.tradePairPage = TradePairPage() self.bottomNav = BottomNav()
def tearDownClass(cls): time.sleep(10) App.quit()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.staking_page = StakingPage() self.kingkong = KingKongDistrict()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.main_tradeArea = MainTradeArea()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.recharge = RechargeWithdrawal()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.bottomNav = BottomNav()
def setUpClass(self): self.driver = App.start() self.locateUtil = LocateUtil(self.driver) self.segmentTab = SegmentTab()