예제 #1
0
 def tearDownClass(self):
     time.sleep(10)
     App.quit()
예제 #2
0
 def setUpClass(self):
     self.driver = App.start()
     self.locateUtil = LocateUtil(self.driver)
     self.switchUser = SwitchUser()
     globals()["alreadyLogin"] = False # 是否登录来控制执行不同的用例
예제 #3
0
 def setUpClass(self):
     self.driver = App.start()
     self.locateUtil = LocateUtil(self.driver)
     self.tradePairPage = TradePairPage()
     self.bottomNav = BottomNav()
예제 #4
0
 def tearDownClass(cls):
     time.sleep(10)
     App.quit()
예제 #5
0
 def setUpClass(self):
     self.driver = App.start()
     self.locateUtil = LocateUtil(self.driver)
     self.staking_page = StakingPage()
     self.kingkong = KingKongDistrict()
예제 #6
0
 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()
예제 #8
0
 def setUpClass(self):
     self.driver = App.start()
     self.locateUtil = LocateUtil(self.driver)
     self.bottomNav = BottomNav()
예제 #9
0
 def setUpClass(self):
     self.driver = App.start()
     self.locateUtil = LocateUtil(self.driver)
     self.segmentTab = SegmentTab()