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
What is the state testing?
What is Initial Configuration?
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?
What is the difference between test scenarios, test cases, and test script?
test cases for bus transport (TNSTC)
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.
Write the test case for a login page?
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
What is the toughest moment you faced in your testing carrier in which everyone praised you?
How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database
How to write test case for this scenario. The text field that reads “ enter SDU number or the city and state of the SDU” shall be removed from the contact screen
Define some of the attributes of a test case?
How to test Webservices and how can we write test cases for that
Explain the monkey testing?
In a log in page what will be test procedure, test scenario, test description & test steps?