Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write the test cases for date month and year field by using
testing techniques

Answers were Sorted based on User's Feedback



write the test cases for date month and year field by using testing techniques..

Answer / aditya

For leap year after after 1999 i.e from 2000 .... the year should be divisible by 4 or 400 for leap year ......
And before 2000 i.e 1999 .. For leap year it shpuld be divisible by 4 or 100

Is This Answer Correct ?    1 Yes 1 No

write the test cases for date month and year field by using testing techniques..

Answer / sunny

it doesn't accept Negative(-1) value also.

and when we test for DOB then how we decide that this year
is leap year or not.
or
what are the test cases for leap year.

Is This Answer Correct ?    2 Yes 4 No

write the test cases for date month and year field by using testing techniques..

Answer / sathish kumar

check whether numeric value only accepted in date field.not
accepted any other character in that field.

Is This Answer Correct ?    2 Yes 4 No

write the test cases for date month and year field by using testing techniques..

Answer / dhanasekaran k

1.It should be in the dd/mm/yyyy format or mm/dd/yyyy
format.
2.It should not accept any special characters other than -
& /.
3.In case of Leap year February should show 29 days.
4.Date & month should accept only two characters.
5.Year should accept only four characters.
6.Date fields should not accept any alphabets,special
characters,space,decimals or their combination.
7.Same applied for month field and year field.
8."32" should not be accepted in Date field.
9."13" should not be accepted in Month field.
10."january ,jan and 01"should be accepted in month filed.

Is This Answer Correct ?    1 Yes 3 No

write the test cases for date month and year field by using testing techniques..

Answer / nilesh

good Rituparana, Yes have considered all the combinations
for this example

I also aggreed with pran i.e. what if the date is
23-06-9999 is it possible? in case if we use the format
as dd-mm-yyyy

thanks friends

Is This Answer Correct ?    7 Yes 10 No

write the test cases for date month and year field by using testing techniques..

Answer / sharmila

In addition to the above, if date of birth is considerd as
date filed, then one should not be in a position to enter
date less than 100 years as the life span of man does not
cross 100 years in this generation.

Is This Answer Correct ?    3 Yes 6 No

write the test cases for date month and year field by using testing techniques..

Answer / sunny

A year is a leap year if:
- it is divisible by 4, AND
- it is not divisible by 100, unless it is divisible by 400

So:
2004, 2008 are leap years (divisible by 4 but not by 100)
1900, 3000 are not leap years (divisible by 100 but not by 400)
2400, 3200 are leap years (divisble by 400)

An equivalent way to say it is that:
- If it is divisible by 400, it is a leap year.
- If it is divisible by 100 but not by 400, it is NOT a leap
year.
- If it is divisible by 4 but not by 100, it is a leap year.
- If it is not divisible by 4 it is not a leap year.

Is This Answer Correct ?    2 Yes 5 No

write the test cases for date month and year field by using testing techniques..

Answer / bimal

write the test cases for date month and year field by using
testing techniques

we can write test case in a format like dd/mm/year

ex-04/04/2006

or u can try in this manner

ex-april/fourth/2007

or

04/04/06

Is This Answer Correct ?    11 Yes 22 No

write the test cases for date month and year field by using testing techniques..

Answer / mounica

we can write test cases for date month and year as
1 date/month/year
2 date-month-year
examples :
07/12/2007
09-12-2006
date should be 2 characters,year should be 2
characters ,and year should be 4 characters these r the
possible test conditions

Is This Answer Correct ?    7 Yes 22 No

Post New Answer

More Test Cases Interview Questions

Generate functional and negative testcases for MS Paint brush

1 Answers   Accenture, GE, Netian, Tangent Software,


How can we write a good test case?

0 Answers  


test cases for friend finder system using gps?

0 Answers  


could somebody plz tell me the test cases on online credit card payment?

4 Answers  


What is the role of a tester in the test plan preparation? What elements tester physically develops in the test plan document.& what exactly this document contains?

4 Answers   Blue Star,


write the test cases for facility module

0 Answers  


pls send me the testcases for telecom billing system

1 Answers   Wipro,


how to write junit testcase for ejb3.0 project.. pls reply soon to this mail id shnkrgnsh@gmail.com

0 Answers   IBM,


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

0 Answers   HP, QSpiders,


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

0 Answers  


suppose an interviewer asks you to write a testcase for a login window (and application is not given to test). Should we write actual results or expected results or both?

3 Answers  


How will you review test cases?

26 Answers   HCL, TCS,


Categories