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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you do beta testing?

633


Why documentation testing is important?

1567


Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.

1634


How do you test for the coockies for a web application?

1615


What is a critical bug?

653






what are the prerequisite conditins to test clientserver and web applications

1592


Which test cases are written first: white boxes or black boxes?

792


Can you do system testing at any stage of sdlc?

657


What is meant by Boundary value analisis and Equalence partitioning? Can give derive this using these methods? In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10% The next £28000 is taxed at 22% Any further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class? a) £4800; £14000; £28000 b) £5200; £5500; £28000 c) £28001; £32000; £35000 d) £5800; £28000; £32000

1583


user id @ yahoo.com (or) yahoo.co.in (or) gmail.com.... etc

1929


Anyone attended the manual testing interview with L&T infotech in recent past. please let me know the type of questions they can ask especially in PM round. Thanks

10381


Hi, I was asked following question during a interview. Please answer it: Password field is there,we can accepts every character except underscore and semicolon. It can accept min 6 characters and maximum 12 characters. Prepare boundary value and equivalence class test cases.

7106


For any web application, what are the possible login features that should be tested?

805


What is regression testing? When to apply it?

670


1...DIFF BETWEEN QTP AND WIN RUNNER? 2... CHECKPOINTS AND EXPLAIN EACH OF THEM? 3...WHY IS STEP GENERATOR? 4... WHAT IS THE DIFF BETWEEN FUNCTIONS AND SUB ROUTINE?

1447