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
What is the state testing?
i m a fresher working in healthcare industry. here we hve no tool for testing. how i ll do manual testing?plz suggest anyone me urgently... i knw to write test case bt i dont knw where to write n how to execute it manually
How to test Webservices and how can we write test cases for that
There is French dictionary and if you want to check it in English and there is no documentation available then how you will test it and write a test case and Test scenario on it.
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?
This was asked to me recently in Microsoft interview How would you do DOS copy command testing
What is business validation test case?
What is the logic testing?
how to write test case for GUI testing and tell me in brief about GUI and all related WEB based testing..if possible then pls give example of its test case...m new in testing........thannx for help in advance
An Excel sheet contains 2rows and 3 columns of data.I want to copy these data in to the another excell sheet. Write the possible positive and negative test cases?
User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox
Explain the integration testing?
If for any software product, if the customers more often us few functions, and rarely use few othere functionality. what a tester can expect more deffects can be found, in what area, where the functionality frequently used OR where rarly used?
write a test case for yahoo compose page?
What is Initial Configuration?