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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi there Just done with QTP training. I am looking out for a job. can any one share your experinces in real time job. I mean How the work flow goes and what other things do i have to learn for getting a job. please respond ASAP this is urgent for me. Regards Lina.

2183


What is explain security testing?

1177


Explain the load testing?

1188


How to write test cases or test scripts for UAT testing which is done manually

5588


How to test a stored procedure?

1149


Explain the concept of semi-random test cases?

1255


what is the test plan for ms-word

2502


Explain how to develop a test plan and a test case.

1162


What is test cases for mobile phone ?

1348


How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character

1952


For how many days (or) weeks you will test a product or software?

2032


consider a program module that inputs two (2) values, n and max, and computes the sum of the first n integers as long as this sum is less than max; otherwise an error should be reported. if n is negative, then it takes the absolute value. a) list the equivalence partitions, and b) list the boundary values.

2274


Can anybody help me out to write test cases for booking train ticket online???

5748


Write Test cases for the below scenario? scenario 1: Replace the current CSS software with TML software. Scenario 2: Provide the same reports for business as currently provided by CSS software. Not: CSS and TML are customized software.

2901


Explain the static testing?

1291