The login page is the gateway to any application. As a QA tester, validating this feature is critical. In this post, we’ll cover 10 essential manual test cases you must write for login functionality, along with examples.
Test Cases:
Test Case ID | Test Scenario | Expected Result |
---|---|---|
TC01 | Enter valid username and password | User logs in successfully |
TC02 | Leave both fields blank and click login | Show “Fields cannot be empty” |
TC03 | Enter wrong username and correct password | Show “Invalid credentials” |
TC04 | Enter correct username and wrong password | Show “Invalid credentials” |
TC05 | Check password masking | Password should be hidden with dots |
TC06 | Check "Remember Me" functionality | User stays logged in after refresh |
TC07 | Click on "Forgot Password" | Redirects to password recovery page |
TC08 | Enter SQL injection script | Input should be sanitized |
TC09 | Enter special characters in username | Show input validation |
TC10 | Test login with expired credentials | Show “Account expired” |
Bonus Tips:
-
Always validate both client-side and server-side.
-
Log all failed login attempts (security testing).
-
Use tools like Postman to test login APIs.
Comments
Post a Comment