def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.setting = SettingPage() cls.question_feedback = QuestionFeedback()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.detail = VanclassDetailPage() cls.van = VanclassPage() cls.st = StDetailPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.user_info = UserInfoPage() cls.screen_shot = ScreenShot()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.setting = SettingPage() cls.protocol = ProtocolPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.setting = SettingPage() cls.privacy_clause = PrivacyPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.user_info = UserInfoPage() cls.phone_reset = PhoneReset()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.question = QuestionBankPage() cls.filter = FilterPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.question = QuestionBankPage() cls.basket = QuestionBasketPage() cls.detail = QuestionDetailPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.detail = HwDetailPage() cls.speak = SpokenDetailPage() cls.homework = ReleasePage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.detail = VanclassDetailPage() cls.v_detail = HwDetailPage() cls.van = VanclassPage() cls.speak = SpokenDetailPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.question = QuestionBankPage() cls.detail = QuestionDetailPage() cls.game = GamesPage() cls.filter = FilterPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.detail = VanclassDetailPage() cls.van = VanclassPage() cls.group = GroupDetailPage() cls.release = ReleasePage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.question = QuestionBankPage() cls.paper = PaperDetailPage() cls.game = GamesPage() cls.change_image = ChangeImage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.v_detail = VanclassDetailPage() cls.van = VanclassPage() cls.detail = HwDetailPage() cls.game = GamesPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.question = QuestionBankPage() cls.detail = QuestionDetailPage() cls.basket = QuestionBasketPage() cls.collect = CollectionPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.user_info = UserInfoPage() cls.change_image = ChangeImage() cls.screen_shot = ScreenShot() cls.base_page = BasePage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.filter = FilterPage() cls.question = QuestionBankPage() cls.recommend = RecommendPage() cls.release = ReleasePage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.user = TuserCenterPage() cls.filter = FilterPage() cls.recommend = RecommendPage() cls.question = QuestionBankPage() cls.basket = QuestionBasketPage() cls.detail = QuestionDetailPage()
def logout(self): """退出登录""" self.driver.implicitly_wait(2) ThomePage().click_tab_profile() # 进入首页后点击‘个人中心’按钮 TuserCenterPage().click_setting() # 点击设置按钮 self.logout_button() self.driver.implicitly_wait(2) if TloginPage().wait_check_page(): print('退出登录成功!!!') else: print(' 退出登录失败 ')
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.question = QuestionBankPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.release = ReleasePage() cls.paper = PaperDetailPage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage()
def setUp(cls): """启动应用""" cls.login = TloginPage() cls.home = ThomePage() cls.release = ReleasePage() cls.detail = HwDetailPage()