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

Why did you ever become involved in QA/testing?

1 Answers  


What are the points to be taken into consideration while doing INTSTALLATION TESTING?

1 Answers  


What is the risk factor problem related to project? risk factor ratio in the project?

0 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  


What is branch testing and what is boundary testing?

0 Answers  






What is the difference between the test plan and test strategy

0 Answers  


why exactly we need qa(quality analyst)?what is the diff btw quality analyst qnd quality assurance?

3 Answers   IBM,


hi, i am recently joining a SW house as a QA but i have no any experirnce in it so i need some help to solve this my question is that what is the staring steps to make the test plan of web application and also how make the test case

2 Answers  


Give me an example of the best and worst experiences you've had with QA.

0 Answers  


Explain agile development processes?

0 Answers  


Can any one tell me abt. QA & QC

8 Answers  


What is the role of good test engineer?

6 Answers   Wipro,


Categories