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
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
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?
Do you know mutation testing?
What are the different check points for SIT and UAT while testing an Internet Banking application. Consider any one functionality of Internet Banking
150 integration testing scenarios for gmail
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
What are semi-random test cases?
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
Suppose a job should be executed for every two hours? Write test case for this?
Elaborate test plan and content availability in test plan.
Write test cases for 8+4?
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
what is the test plan for ms-word
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.
How to write test cases for manual testing? What are the main syntex for writing test cases for Junit?