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 is Database Testing? How will you do it?

10 Answers  


After which phase is the inspection process optional? Choice 1 Preparation Choice 2 Rework Choice 3 Planning Choice 4 Inspection meeting Choice 5 Overview

2 Answers   Brainbench Certification,


What is extreme programming and what is it got to do with testing?

0 Answers  


What is the difference between an activity of QA and QC?

5 Answers   Satyam,


What is change request?

0 Answers  






hey, i recently attended 2 interviews and they asked whether I used qamonitor of softsmith. any help on what it does?

0 Answers  


can u explain what is concurrancy in testing

3 Answers   Sapient,


What type of tests you perform on the web based application?

0 Answers  


What is verification?

0 Answers  


What is Release Note and its contents?

4 Answers  


Is it possible to do load testing in POWERMHS? If yes how do you do that?

0 Answers  


If there are more number of production defects, how will you tackle the team as a lead

0 Answers   FIC,


Categories