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

User registration form so many details will be there to enter like Username,Phone No,Email id ect.how do we write test cases for that? in one textbox i have to write all the test cases and go to next textbox

1609


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

2291


Do you know mutation testing?

1156


What are the different check points for SIT and UAT while testing an Internet Banking application. Consider any one functionality of Internet Banking

1892


150 integration testing scenarios for gmail

12777


how to write test cases for the example state name starts with A B C D E F G H I J K L Z

2495


What are semi-random test cases?

1293


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

3084


Suppose a job should be executed for every two hours? Write test case for this?

1135


Elaborate test plan and content availability in test plan.

1088


Write test cases for 8+4?

1139


If I wrote test cases for Login Window with test case Name Login window & test case id L_01.Now if Name of Login window get changed in the next version.then May I have to change the Test case name & Test case id OR HAVE TO block the previous test case and write the new one

2425


what is the test plan for ms-word

2446


1. Buzz Words 1.1 Purpose Allow user easy access of content based on key/popular words 1.2 Scope All the tags at the portal. 1.3 User Interface - Tags are usually hyperlinks that lead to a collection of items that are associated with the tag. - Click takes you to page similar to Search Result page, should search all content and not only articles - Based on Most Viewed only 1.4 Interfacing/Sourcing Details - Need to develop an application which works on algorithm to calculate size/color of Buzz words. - In phase 1 algorithm will be pretty straight forward of calculating dimesion of Buzz words by going by ""Most Viewed/Visited"" words. Need to get exact algorithm.

2628


How to write test cases for manual testing? What are the main syntex for writing test cases for Junit?

2981