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 are new features in Vista / Longhorn ?
2 Answers nvidia, Symantec, Veritas,
hi,I want to learn testing concepts. But, actually, at least, I don't have basic knowledge about testing. but, my desire is to learn testing concepts. But, I don't know, which material is good?And which site is good to learn testing concepts. Please, could any one help me regarding this? If any one have good material with you, with out feel, kindly forward that material to me? Please, do this help for me. Thanks in Advance. my mail id is gopimanchella@gmail.com BEST REGARDS M.MurthySharma.
what are the contents of SRS documents?
Who will participate in testcase review?
What's the difference between Load and Stress testing ?
Write test cases to copy text file from C:\ drive to D:\ drive?
What is the need of smoke test even when unit test is done by developers?
what is differance between smoke testing and sanity testing?
What are the cases when you’ll consider to choose automated testing over manual testing?
What is adhoc testing?when it can be done?
Can you explain the concept of defect cascading?
1. what's the difference between adhoc testing and monkey testing? 2.If I'm wrong correct me, in one test case there may be only one scenario is included or may be more than two and not for one scenario many test cases are written.. Right?