Example #1
0
 def test_login7(self):
     mobile = "13683052815"
     pwd = ""
     case_name = "正确账号不填密码-7"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 0,
                       0)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")
Example #2
0
 def test_login8(self):
     mobile = "18310068728"
     pwd = "111111"
     case_name = "输入正确账号密码-8"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 5,
                       0)  # 调用方法输入手机号,密码,用例名字
     time.sleep(2)
Example #3
0
 def test_login6(self):
     mobile = "13683052815"
     pwd = "23345667"
     case_name = "正确账号错误密码-6"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 1,
                       0)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")
Example #4
0
 def test_login5(self):
     mobile = "15031028965"
     pwd = ""
     case_name = "输入不存在的账号-5"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 0,
                       0)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")
Example #5
0
 def test_login4(self):
     mobile = "****————??"
     pwd = ""
     case_name = "输入特殊符号登录-4"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 0,
                       0)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")
Example #6
0
 def test_login3(self):
     mobile = "1503107628"
     pwd = ""
     case_name = "输入错误账号登录-3"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 0,
                       0)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")
Example #7
0
 def test_login1(self):
     mobile = "11111111111"
     pwd = ""
     case_name = "输入错误账号登录-1"
     Log.print_case_info_Login(self, mobile, pwd, case_name)
     LoginHelper.login(self, mobile, pwd, case_name, 0,
                       1)  # 调用方法输入手机号,密码,用例名字
     print("执行结束")