Answer Posted / 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 |
Post New Answer View All Answers
Write a test case of login window?
how to write a test cases for Quick links like Feedback/Suggestions Advertise with us Contribute Invite a Friend FAQs Make HomePage RSS Feed Buzz Words Email Privacy Statement Terms & Conditions Copyright Disclaimer Download Forgot Password
Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?
Explain how to develop a test plan and a test case.
how to test stand alone programs?
Scenarios to test wireless Speaker via bluetooth
Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
Explain the integration testing?
If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules
Explain the branch coverage testing?
Explain the format of a requirement traceability
Write test cases for 8+4?
pls i want test cases for oss? whts the process of oss testing
How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character