test cases for login window
Answer / nitin j
I was asked this question in Cap Gemini and got the answer from the interviwer.. :)
(Note: your answer may differ.)
Interviewer: there is a text field named login name: and below that there is a field called password and below that we have a button called Submit. how many maximum test cases can be there and what they would be?
If you have any questions on this you can ask.
I said no and i blindly answered 6.
Login with correct username and password
incorrect user name
incorrect password
incorrect user name and incorrect password
max number of characters for user name field
special char check
His answer:
You should have inquired whether text field takes special characters... what is the max no. of chars the field will take..
the field will be enabled initially or there is any condition. where the default focus would be.. and here are the test cases. start counting...
1. text field one should be enabled
2. text field two should be enabled
3. button should be enabled
4. text field should take alphanumeric characters
5. text field should take special characters (which chars will depend upon the requirement)
6. default focus should be on username field
7. password field should not display entered text instead should display * (or any other special char as reqd)
8. On tab focus should change to password field
9. on second tab focus should change to submit button
10. spell check for fields and button
11. alignment
12. 13. max character length for both fields
14. click on button without input
15. click on button with single input
16. all the four TC's that you mentioned like correct name and password...
"Do not assume anything"
I smiled. He smiled back. :)
| Is This Answer Correct ? | 6 Yes | 0 No |
what is run time object
4 Answers Infinite Computer Solutions,
How many test cases you will execute per day?
how do u knw when to stop writing test case for a given project.
Write the functional,system test case for a electric bulb which have two electric switches.
How to create Test Data? What are the Fields in Test Data. Please any one specify the format of Test Data?
Hi, i attended interview in seimens they asked me suppose u have a car which is used by VIP and it has 2 alarms one is at front and other is back when ever smoke or fire is near to car it will detect it and beep alaram so wat r the possible test cases u can write plz give the answer
what is the technology used in financial applications?
Test cases on uplaoding files
12 Answers GE, HP,
please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )
Write a test case on a durability of an electric bulb and test it that it will last for next 10 months.
How to write test cases or test scripts for UAT testing which is done manually
Explain the ramp testing?