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 give me different test scenario for uploading whatsapp status from gallery and camera
If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date
how to write testcase for the output of an program ****0 ***01 **012 *0123 01234
What is the domain testing?
How to generate test cases for 'replace a string' method?
How to write test cases or test scripts for UAT testing which is done manually
What is the syntax testing?
How to write test cases for "open file dialog box" for ms word? Thanks a lot!
can anyone send me a copy of a business requirement and test cases attributed to such requirent. thank u
how to write test cases for online restaurant table booking system?
Do you write test plan and test case?
How should I maintain the test cases and Test Log for different versions/builds of the application.
Test Case for Text Editor!
write a test case flipkart login page
WE WANT HEALTHINSURENE PROJECT FUNCTIONAL TEST CASES