def test_column_multilingual(self): '''列多语言''' menu3 = '列表视图_列_多语言' mp = MainPhonePage(self.driver) mp.open_menus(self.menu1, self.menu2, menu3) # 打开菜单 lp = ListViewPhonePage(self.driver) lp.wait_Tabloading_show_then_hide() self.assertIsNotNone(lp.get_column_head('文本二'), msg='列多语言检验不通过')
def test_import_view_case(self): '''载入视图按钮''' menu3 = '按钮_case002' mp = MainPhonePage(self.driver) mp.open_menus(self.menu1, self.menu2, menu3) # 打开菜单 mp.wait_Tabloading_show_then_hide() btn = ButtonPhonePage(self.driver) btn.click_button('载入视图') #点击载入视图 mp.wait_Tabloading_show_then_hide() lp = ListViewPhonePage(self.driver) self.assertIsNotNone(lp.get_column_head('单行文本_载入视图'), msg='载入视图按钮检验不通过')