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 the QA process?

3 Answers   Lucent, Patni,


How Many CMM levels are there?? What are the main differences between each level?

3 Answers   AZTEC,


1) What r the properties, Advantages & Disadvantages of each types of action? 2)When I can use this?

0 Answers  


i completed btech in IT in 2012.i am not good at programming.i want to do software testing.am i eligible for the course and how will be my future?please help and than you

1 Answers  


In Software Development Team, Who has the biggest and smallest salary? Can You list all of it? It say that SQA Tester is the smallest one, Is it right?

0 Answers  


What is the difference between QA and QC?

39 Answers   CSS, Faurecia, Focus, KNP, Maruti Suzuki, Quality Assurance, Tech Mahindra, Tower Manufacturing,


how you will find that this tool can be used to test this software?

1 Answers  


Iam planning to take ISTQB(foundation level) Please send any list of sample papers and reference books to my mail id ID is ituraman@yahoo.com

2 Answers  


Difference between web application & client server application?

3 Answers  


What are test driver and test stub and why we need them?

0 Answers  


if i am giving you a module to test but no specification is provided to you then on what basis you will write test cases?

2 Answers   TCS,


what is the difference between RDBMS and DBMS

5 Answers   Oracle, Xansa,


Categories