Esempio n. 1
0
 def test_MyAPP_009IntoALLAPP(self):
     """用例名称:我家→全部应用→进入全部应用"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.IntoALLAPP(driver)
     self.assertTrue(TestResult)
Esempio n. 2
0
###############################################################################################
MyHome.IntoMyHome(driver)
# 单独测试就得重新进入我家

# MyAPP.MyApplication(driver, AppName = "我的购物车", wojia = True)
# MyAPP.MyApplication(driver, AppName = "房间绑定", wojia = True)
# MyAPP.MyApplication(driver, AppName = "我的报修", wojia = True)
# MyAPP.MyApplication(driver, AppName = "社区服务", wojia = True)
# MyAPP.MyApplication(driver, AppName = "智能家居", wojia = True)
# MyAPP.MyApplication(driver, AppName = "人脸识别", wojia = True)
# MyAPP.MyApplication(driver, AppName = "访客邀请", wojia = True)
# MyAPP.MyApplication(driver, AppName = "我的活动", wojia = True)
# 我家的我的应用(从我家页面进入需要带参数wojia = True)
time.sleep(3)
MyAPP.IntoALLAPP(driver)
# 点击全部应用进入全部应用
# MyAPP.MyApplication(driver, AppName = "商家收藏")
# MyAPP.MyApplication(driver, AppName = "我的家书")
# MyAPP.MyApplication(driver, AppName = "我的关注")
# MyAPP.MyApplication(driver, AppName = "我的评价")
# MyAPP.MyApplication(driver, AppName = "约车记录")
MyAPP.MyApplication(driver, AppName="我的帖子")
Public_Page.ExitBack(driver)
# 返回到我家页面
MyHome.SmartBandInstruction(driver)

NeighborTalk.IntoNeighbor(driver)
# 进入友邻页面
NeighborTalk.IntoNewTopic(driver)
NeighborTalk.ChoiceSpeakType(driver, type=3)