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
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.
What is explain security testing?
Explain the load testing?
How to write test cases or test scripts for UAT testing which is done manually
How to test a stored procedure?
Explain the concept of semi-random test cases?
what is the test plan for ms-word
Explain how to develop a test plan and a test case.
What is test cases for mobile phone ?
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
For how many days (or) weeks you will test a product or software?
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.
Can anybody help me out to write test cases for booking train ticket online???
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.
Explain the static testing?