How to write the test cases for the Date Format like
dd/mm/yyyy?

Answers were Sorted based on User's Feedback



How to write the test cases for the Date Format like dd/mm/yyyy?..

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

How to write the test cases for the Date Format like dd/mm/yyyy?..

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

How to write the test cases for the Date Format like dd/mm/yyyy?..

Answer / latha

Apart frm the above said answer.....we have to also
consider the leap year...when it is not a leap year then dd
should accept 1-28 for the month of feb and when it is a
leap year it should accept dd from 1-29.

correct me if iam wrong.

Is This Answer Correct ?    9 Yes 4 No

How to write the test cases for the Date Format like dd/mm/yyyy?..

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

How to write the test cases for the Date Format like dd/mm/yyyy?..

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

How to write the test cases for the Date Format like dd/mm/yyyy?..

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

Post New Answer

More QA Concepts Interview Questions

What are all the possible Risks and it's Management Technics in Software Testing?

3 Answers   Value Labs,


What are SCORM Standards?

4 Answers  


How many defects is acceptable for a project. Is there any goal for no. of defects.

3 Answers   FIC, MinMax Software,


why do not u try to get job in your core side(example :-eee)?

0 Answers   Cap Gemini,


My friend bought a test management system just recently after comparing a lot of products. But its performance was not quite up to the mark. Please suggest a good one that is worth the money.

3 Answers  






What is basis path testing?

0 Answers  


What are the responsibilities of a qa analyst?

0 Answers  


Have you written test plan?

0 Answers  


In "V" model, how OQ is related to DS.

1 Answers  


Can you help me with your suggestions so as to select a test management system that fits perfectly well with the two widely used software development methodologies i.e., agile and waterfall?

1 Answers  


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please

0 Answers  


Who will write the use case?

3 Answers  


Categories