For a Login screen with Username, Password input fields and
Enter, Cancel button write Test Cases for GUI, Funcitonal,
Negative, Usability and Security testing.
Answer / vinhbao
* test case GUI:
1. verify elements Username, password, Enter button, cancel
button show correctly in spelling, format, color, size,
alignment as design, specification on browser IE7,8,9, FF,
Safari,... and consistent look and feel
2. verify elements Username, password, Enter button, cancel
button after login failed show correctly in format, color,
size, alignment as design, specification on browser
IE7,8,9, FF, Safari,... and consistent look and feel
* test case Functional:
- Verify validation message when user submit with blank
Username, blank password
- Verify validation message when user submit with valid
Username, invalid password
- Verify validation message when user submit with invalid
Username, valid password
- Verify validation message when user submit with invalid
Username, valid password
- Verify validation message when user input maxlength
username and password then submit
- Verify validation message and user is locked when user
input wrong password 3 times
- Verify user login sucessful with valid Username, valid
password can
- Verify case user input data then click Cancel
- Verify case user input data valid username, password then
press Enter key
* test case Navigative:
- Verify user can navigate to Home page after login
sucessful.
- Verify current login page is kept when user click Cancel
button
- Verify current login page is kept when user submit with
invalid password
* test case Usability:
- Is all date entry required in the correct format?
- When standing on Username textbox, press Tab button must
move index to Password textbox, click tab again, move index
to Enter button , and Cancel button
- User can submit by Enter key
- When an error message occurs does the focus return to the
field in error when the user cancels it?
- Do all the fields username, password indicate the number
of characters they will hold by there length
* test case security:
- system does not show sql injection error when user input
sql statement injection i.e: ' or 1=1 -- into username and
password then submit
- Verify code of this login page is using store procedure
in database instead of write code directly on FE
Is This Answer Correct ? | 10 Yes | 2 No |
what is the function generator?
why we choosen testing but not developing
What is baseline testing?
Is this good to start a career as a manual tester?
how to test stored procedures in manually?
What is defect removable efficiency?
What is meant by Product-based testing?
which tool used for gui testing?
what is bug life cycle? (Asked in Zensar Hyderabad today(17-1-12010))
Iam new to testing field and i put lot of experiences so i want to get prepared for the interview in all the ways both in manual and Automation can any one help me how to answer there questions in real time. also can anyone send the top questions and answers to me plz its urget u can mail me at vaisu72@yahoo.com
What test data will be required if Person 1 transfer money in Person2 account?
What is suspension & resumption criteria in Test Plan please explain with example ?