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 |
Write Test case on even/Odd or Prime Number from 1 to 100 ?
What was a problem you had in your previous assignment (testing if possible)? How did you resolve it?
Difference between JOB POSITION of Quality Assurance Engineer and software testing engineer.What are the responsibility for each?? It's really urgent.
How many TC you have written?How many TC you can write in a day?How many TC can you execute in a day?
Explain the Pros and Cons of testing the software by Developement team and by testing team?
What is Forward and Backward compatibility? How will you write test cases for compatibility testing?
what is the role of QA in all the phases of SDLC?
how to write integrated test case for an ATM?
what is agile testing with example
Write a Testcase for mobile phone ?
Is it necessary to do retesting if we are going to do regression testing?please reply
when there is minimal or no document available to carry out the testing for a login screen, what will you do?