Exemplo n.º 1
0
 def test_MyAPP_007VisitorInvitation(self):
     """用例名称:我家→全部应用→访客邀请"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="访客邀请", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 2
0
 def test_MyAPP_005SmartHome(self):
     """用例名称:我家→全部应用→智能家居"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="智能家居", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 3
0
 def test_MyAPP_006FaceRecognition(self):
     """用例名称:我家→全部应用→人脸识别"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="人脸识别", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 4
0
 def test_MyAPP_003FaultRepair(self):
     """用例名称:我家→全部应用→我的报事报修"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="我的报修", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 5
0
 def test_MyAPP_004CommunityServices(self):
     """用例名称:我家→全部应用→社区服务"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="社区服务", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 6
0
 def test_MyAPP_015MyPost(self):
     """用例名称:我家→全部应用→进入我的帖子"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="我的帖子")
     Public_Page.ExitBack(driver)
     #self.assertTrue(TestResult)
     assert TestResult == True
Exemplo n.º 7
0
 def test_MyAPP_002BindingRooms(self):
     """用例名称:我家→全部应用→房间绑定"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="房间绑定", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 8
0
 def test_MyAPP_009IntoALLAPP(self):
     """用例名称:我家→全部应用→进入全部应用"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.IntoALLAPP(driver)
     self.assertTrue(TestResult)
Exemplo n.º 9
0
 def test_MyAPP_008MyActivity(self):
     """用例名称:我家→全部应用→我的活动"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="我的活动", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 10
0
 def test_MyAPP_001ShoppingCart(self):
     """用例名称:我家→全部应用→我的购物车"""
     driver = self.driver
     MyHome.IntoMyHome(driver)
     # 进入我家页面
     TestResult = MyAPP.MyApplication(driver, AppName="我的购物车", wojia=True)
     self.assertTrue(TestResult)
Exemplo n.º 11
0
 def test_MyAPP_014CarHailingService(self):
     """用例名称:我家→全部应用→进入约车记录"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="约车记录")
     self.assertTrue(TestResult)
Exemplo n.º 12
0
 def test_MyAPP_013MyOpinion(self):
     """用例名称:我家→全部应用→进入我的评价"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="我的评价")
     self.assertTrue(TestResult)
Exemplo n.º 13
0
 def test_MyAPP_012Focus(self):
     """用例名称:我家→全部应用→进入我的关注"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="我的关注")
     self.assertTrue(TestResult)
Exemplo n.º 14
0
 def test_MyAPP_011HomeLetter(self):
     """用例名称:我家→全部应用→进入我的家书"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="我的家书")
     self.assertTrue(TestResult)
Exemplo n.º 15
0
 def test_MyAPP_010FavoriteShops(self):
     """用例名称:我家→全部应用→进入商家收藏"""
     driver = self.driver
     TestResult = MyAPP.MyApplication(driver, AppName="商家收藏")
     self.assertTrue(TestResult)
Exemplo n.º 16
0
MyPurse.IntoPurse(driver)
#进入我的钱包

MyCoupon.IntoCoupon(driver)
#进入我的优惠券
MyOrder.WoJiaOrder(driver)
MyOrder.AllOrder(driver)
MyOrder.ClickMyOrder(driver)
#我的订单订单管理



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)

MyAPP.IntoALLAPP(driver)
#点击全部应用进入全部应用
MyAPP.MyApplication(driver, AppName = "商家收藏")
MyAPP.MyApplication(driver, AppName = "我的家书")
MyAPP.MyApplication(driver, AppName = "我的关注")
MyAPP.MyApplication(driver, AppName = "我的评价")
Exemplo n.º 17
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)
Exemplo n.º 18
0
MyOrder.ClickMyOrder(driver)
#我的订单订单管理



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)

MyAPP.IntoALLAPP(driver)
#点击全部应用进入全部应用
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)