how to write the test case for time and date
like TIME : 09:34:32AM
DATE : 12 MAY 1987
Answer Posted / phu
TIME : 09:34:32AM: hh:mm:ss AM/PM
DATE : 12 MAY 1987: dd MMM yyyy
First, identify boundary value of TIME and DATE:
hh: 01 - 12
mm: 01 - 59
ss: 01 - 59
dd: 01 - 31
MMM: JAN - DEC
yyyy: 0001 - 9999
Use boundary technique to write test case:
1. hh: 00, 01, 06, 12, 13
2. mm: 00, 01, 30, 59, 60
2. ss: 00, 01, 30, 59, 60
4. dd: 00, 01, 15, 29, 30, 31
5. MMM: JAN, DEC
6. yyyy: 0000, 0001, 2013, 9999
Other DATE rules:
Leap year (integer multiple of 4): FEB has 29 days, other year: FEB has 28 days
1. 29 FEB 2004
2. 30 FEB 2004
3. 28 FEB 2003
4. 29 FEB 2003
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the test plan for ms-word
can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?
hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ
How should I maintain the test cases and Test Log for different versions/builds of the application.
Test a function that reads a file into memory, say ReadFileToMemory( FILE * pFile, BYTE * pMem, DWORD numBytes)
Sample test cases for data conversion(Utility billing system)
Can anybody help me out to write test cases for booking train ticket online???
How would you do " Keeping two folders in sync testing"
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?
Explain the concurrency testing?
Why is it that the boundary value analysis provides good test cases?
What is ramp testing?
How to write test cases for lift?
Explain the component testing?
What is the logic testing?