How to write the test cases for the Date Format like
dd/mm/yyyy?
Answers were Sorted based on User's Feedback
Answer / balaji
Condition:Check for the functionality of the date format
dd/mm/yyyy
Input:Enter the date like dd/mm/yyyy
Expected result:The date format should be accepted.
2)Input:Enter the date other than dd/mm/yyyy like yyyy/dd/mm
(or)mm/yyyy/dd (or) dd/yyyy/mm (or) mm/dd/yyyy
The date should not be accepted.
| Is This Answer Correct ? | 20 Yes | 1 No |
Answer / spk
u have to take care whilewriting test case that for date
it should valid input from 1-31 and for month it should 1-
12 and for year it should 4 digits, and it should be in
dd/mm/yyyy only anything apart from this formate it should
give error message
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / ganesh kamble
All above are correct, i include one more test for
dd/mm/yyyy format, that is
1. Test " / " should be two & this should after date &
month only. It should not contains " - ".
2. Date format should not contains month name. ex
12/june/2010 or 12-jun-2010.
3. Digit from 1 to 9 in date & month contains one zero
privious each digit only.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / priya
ALL these answers r right...we should chk the format
1st...then it should be valid date ..expl. month should be
between 1 to 12 ..day should be from 1 to 31..if we enter
mounth as 13 it should give error same for day also..
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / shreyas
Also we need to check basic that all are integers entered in that date format
example:
two/04/1990
08/March/1989
22/02/Two thousand sixteen
should not be accepted
| Is This Answer Correct ? | 0 Yes | 0 No |
Life for QA & job oppurtunity ?
Why you choose automated testing over manual testing?
Why do you consider testing to be necessary?
Can any one tell me about the free online certifications in the QA and QC stream
What is the difference between system integration testing and end-to-end testing? With examples pls
A payroll system?
0 Answers E-Clear Technologies,
best trainig institutes and best faculty in chennai for software testing ?
What are the types of documents in sqa?
What is the Difference between 2-tier and 3 tier applications... Anybody can explain in detail... Thanks in advance
what is Bottle Neck testing??
what is difference b/n client server and web based applications?
Explain stress testing, load testing and volume testing?