how to write the test case for time and date
like TIME : 09:34:32AM
DATE : 12 MAY 1987
Answer Posted / smitha
Actually all the fields for TIME should be combo boxes.Check
combo boxes visually i.e HH should be from 1 to 12 and MM,
SS should be from 1 to 60.
If the Time field is editable then do the following procedure.
To check TIME(HH:MM:SS AM/PM)
1.HH(Hours) should be between 1 to 12, so try giving numbers
below 1 and above 12. It should not accept. Also try to
enter negative numbers(or some junk values) and check.
2. For MM ans SS enter numbers below 1 and above 60 and
check the result.
3.AM/PM will be in a combo box.There should not be any other
field other than AM, PM.Also note that AM/PM field should
not be editable.
Similarly for the DATE(DD/MMM/YYYY) also.
If the fields in Date are combo boxes, then check visually
i.e DD should be from 1 to 31,MMM should be JAN,FEB...DEC
and YYYY can be any valid range according to the
Requirements document.
Sometime DATE is provided by Calender pop up.Checking that
is very simple.We have to check for month increment button
and year increment button.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
what is the technology used in financial applications?
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.
How to write test cases for "open file dialog box" for ms word? Thanks a lot!
An Excel sheet contains 2rows and 3 columns of data.I want to copy these data in to the another excell sheet. Write the possible positive and negative test cases?
How can we write a good test case?
Explain the format of a requirement traceability
Explain the ramp testing?
Explain the scalability testing?
Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?
Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com
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
150 integration testing scenarios for gmail
What is component testing?
Do you know mutation testing?
Sample test cases for data conversion(Utility billing system)