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
Write test cases for 8+4?
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.
Explain the system testing?
How should I maintain the test cases and Test Log for different versions/builds of the application.
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.
What is the domain testing?
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
How many test cases u will write for Acceptance testing?
What are all the companies are doing manual testing till now ?
Explain the smoke testing?
What is quick test professional and what test environment it supports?
how to write a test procedure & test log for login system
can any body help me with providing a a case for usability testing...
please tel me how to write test case for search engine to track peoples,when user enter the city,state,zipcode(ex:Kansas city,Missouri,64155)? (note country is already selected as a united states )
What is transaction testing?