def setUp(cls):
     """启动应用"""
     cls.login_page = LoginPage()
     cls.home_page = HomePage()
     cls.user_center = UserCenterPage()
     cls.user_info = UserInfoPage()
     cls.phone_reset = PhoneReset()
Beispiel #2
0
 def enter_user_info_page(self):
     """由 主界面 进入个人信息页"""
     if HomePage().wait_check_page():
         # 进入首页后点击‘个人中心’按钮
         HomePage().click_tab_profile()
         # 点击登录头像按钮,进行个人信息操作
         UserCenterPage().click_avatar_profile()
Beispiel #3
0
 def setUp(cls):
     """启动应用"""
     cls.login_page = LoginPage()
     cls.home_page = HomePage()
     cls.user_center = UserCenterPage()
     cls.setting = Setting()
     cls.question_feedback = QuestionFeedback()
Beispiel #4
0
 def setUp(cls):
     """启动应用"""
     cls.login_page = LoginPage()
     cls.home_page = HomePage()
     cls.user_center = UserCenterPage()
     cls.setting = Setting()
     cls.protocol = ProtocolPage()
 def setUp(cls):
     """启动应用"""
     cls.login_page = LoginPage()
     cls.home_page = HomePage()
     cls.user_center = UserCenterPage()
     cls.user_info = UserInfoPage()
     cls.change_image = ChangeImage()
     cls.screen_shot = ScreenShot()
 def back_up(self):
     """从个人信息页 返回主界面"""
     if self.wait_check_page():
         self.back_up_button()  # 返回按钮
         if UserCenterPage().wait_check_page():  # 页面检查点
             HomePage().click_tab_hw()