Beispiel #1
0
 def setUpClass(cls):
     # logging.info("======== setUpClass========")
     cls.driver = appium_desired()
     status = ZhiXin(cls.driver).login_status
     if status:
         ZhiXin(cls.driver).login_out_zx()
     else:
         pass
     ZhiXin(cls.driver).login_zx2()
Beispiel #2
0
 def test8(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.group_setting_name("猪八戒")
     sleep(3)
Beispiel #3
0
 def test7(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.send_document()
     sleep(3)
Beispiel #4
0
 def test6(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.send_location()
     sleep(3)
Beispiel #5
0
 def test5(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.take_photo()
     sleep(3)
Beispiel #6
0
 def test4(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.send_picture()
     sleep(3)
Beispiel #7
0
 def test3(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.send_word("测试测试,软件测试")
     sleep(3)
Beispiel #8
0
 def test2(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group2()
     sleep(3)
Beispiel #9
0
 def tearDownc(cls):
     # logging.info("========tearDownClass========")
     sleep(3)
     ZhiXin(cls.driver).login_out_zx()
     cls.driver.close_app()
Beispiel #10
0
 def test11(self):
     zhixin = ZhiXin(self.driver)
     zhixin.initialize()
     zhixin.create_group1()
     zhixin.group_setting_group3()
     sleep(3)