Пример #1
0
 def setup(self):
     self.driver = init_driver()
     self.network_page = NetworkPage(self.driver)
Пример #2
0
 def network(self):
     return NetworkPage(self.driver)
Пример #3
0
 def setup(self):
     self.driver = base.base_driver.init_driver()
     self.network_page = NetworkPage(self.driver)
Пример #4
0
 def setup(self):
     # 初始化手机驱动
     self.driver = get_driver(page.setting_appPackage,
                              page.setting_appActivity)
     self.networkPage = NetworkPage(self.driver)
Пример #5
0
 def setup(self):
     self.driver = Testbase()
     self.network_page = NetworkPage(self.driver)
     self.network_page.click_more()
     self.network_page.click_network()
     self.network_page.click_first_network()
Пример #6
0
 def setup(self):
     basedriver = BaseDriver()
     driver = basedriver.init_driver()
     self.networkpage = NetworkPage(driver)
Пример #7
0
 def setup(self):
     self.network_page = NetworkPage(android_driver())