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 Application state,Base state and call state?
what is testing
what is traceability matricks
Anyone tell me the test cases of Shopping Favorite
Can you tell some body how to test a situation that to sell a share if it reaches 30(present value is 25) and the time limit is 120 days. Every day the market starts from 10 A.M to 3 P.M. it may execute any time with in the time period. Pls tell me the answer.
What is reference matrix or tracability matrix?
can u pls explain me what is boundary value analasys and equivalent partitioning
What are the main key components in client and server applications?
Is it necessary to test application in lower versions of OS when you have tested in latest version
What is the exact difference between Integration & System testing, give me examples with your project.
What is Test Scenario & Test Case
What does entry and exit criteria mean in a project?