def teardown_class(self):
     set_tear().teardown(self.driver)
 def setup_class(self):
     # com.tencent.mm /.ui.LauncherUI
     self.driver = set_tear().setup('com.tencent.mm', '.ui.LauncherUI')
     self.minip_page = minip_page(self.driver)
     self.minip_page.swipe_into_minip()
Exemplo n.º 3
0
 def setup_class(self):
     self.driver = set_tear().setup('com.android.settings', '.MiuiSettings')
     self.search_page = SearchPage(self.driver)
Exemplo n.º 4
0
 def setup_class(self):
     self.driver = set_tear().setup('com.tpshop.malls', '.SplashActivity')
     self.tpshop_page = TPshop_page(self.driver)
     self.tpshop_page.click_mine()
     self.tpshop_page.click_intologin()
Exemplo n.º 5
0
 def setup_class(self):
     self.driver = set_tear().setup('com.miui.calculator',
                                    '.cal.CalculatorActivity')
     self.calculate_page = Calculate_Page(self.driver)
Exemplo n.º 6
0
 def setup_class(self):
     self.driver = set_tear().setup('com.android.settings', '.MiuiSettings')
     self.networksetting = NetworkSetting(self.driver)