def test_login_without_credentails(self):
     self.tests.pop()
     self.logger.info("test_login_without_credentails" + " " + "Total :" +
                      " " + str(self.total_tests) + " " + "Remaining :" +
                      " " + str(len(self.tests) - 1))
     b = login_without_inputs(self.driver)
     res = b.test_loginbtn()
     self.assertEqual(res, "This field is required", msg="Failed")
     self.logger.info("test_login_without_credentails is completed...")
예제 #2
0
 def test_login_without_credentails(self):
     b = login_without_inputs(self.driver)
     res = b.test_loginbtn()
     self.assertEqual(res, "This field is required", msg="Failed")