Interview Questions

How to write Test cases for Login screen?

Software QA/Testing Technical FAQs

(Continued from previous question...)

How to write Test cases for Login screen?

the format for all test cases could be something like this
1. test cases for GUI
2. +ve test cases for login.
3. -ve test cases for login.
in the -ve scenario :- we should include boundary analysis to create test cases ,Value Analysis. Equivalence Classes,Positive and Negative test cases) plus cross-site scripting and SQL injection. SQL injection is especially high-risk for login pages.
( Test case is Enter special char for username and it should displays a message that username should have char a-z and 0-9 )

(Continued on next question...)

Other Interview Questions