def test_app_zy5(self):
     h = HomePage(self.driver)
     title = h.sousuo('zxcvbnm')
     try:
         self.assertIn("zxcv", title, msg=title)
         print(title)
     except AssertionError as title:
         print(u"找不到这个标题")
Beispiel #2
0
 def test_app_zy2(self):
     u = Util()
     users = u.read_excel(testdata, sheetname)
     data = users[0]
     email = data["username"]
     pwd = data["userpassword"]
     data1 = users[1]
     email1 = data1["username"]
     pwd1 = data1["userpassword"]
     print(email, pwd)
     h = HomePage(self.driver)
     h.denglu(email, pwd)
     h.Tuichu()
     h.denglu(email1, pwd1)
 def test_app_zy6(self):
     h=HomePage(self.driver)
     h.paixu(0,3)
 def test_app_zy4(self):
     h = HomePage(self.driver)
     h.tianjia1('zxcvbnffgm')
     h.tianjia2('asdfghjkwwwel')
 def test_app_zy8(self):
     h = HomePage(self.driver)
     h.shanchu()
     h.Tuichu()
Beispiel #6
0
 def test_app_zy7(self):
     h = HomePage(self.driver)
     h.guidang()
 def test_app_zy1(self):
     h = HomePage(self.driver)
     h.zhuce("9oegwnj6", "*****@*****.**", "asdfghjk")
     h.Tuichu()
     h.zhuce("zkr", "*****@*****.**", "19970705")
Beispiel #8
0
 def test_app_zy3(self):
     h = HomePage(self.driver)
     h.denglu("*****@*****.**", "11111111")
     h.xiugai('llvvlllvvv')