Prepare for your Next Interview
This is a discussion on Test case for date within the Test Cases forums, part of the Software Testing category; how to write test case for date format mm/dd/yyyy? What are the attributes should be considered here?...
|
|||
|
Test case for date
how to write test case for date format mm/dd/yyyy? What are the attributes should be considered here?
|
| The Following 2 Users Say Thank You to sachin_prasi For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Test case for date
Following test cases can be considered for validating the date format mm/dd/yyyy. You have consider all the three attributes Viz., Date, month and the Year
Positive Scnarios: 1. Validate the month field accepts only up 12 2. Validate the date field for the maximum of 31 3. Validate whether for the month of Jan, Mar, May, Jul, Aug, Oct, and Dec the system accepts till 31 date 4. Validate for the month of Apr, Jun, Sep, and Nov the system is accepting till 31 5. For the month of February the system accept only till 28 for non leap years and till 29 for the leap year 6. Validating the year field by leaving the field empty, and validate what is the default year it is displayed Negative Scenarios: 1. Entering values more than 12 for the Months. 2. Entering values more than 31 for the dates. 3. Entering values more than 29 for february month 4. Leaving the date, month and year field empty and checks how the system reacts for the input 5. Entering 31 days for the months which has only 30 days. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If test case required for testing always post test scenario. | jainbrijesh | Test Cases | 15 | 1 Week Ago 10:55 AM |
| Difference b/w Test case and Test? | jainbrijesh | Test Cases | 6 | 11-13-2008 12:53 AM |
| Is Test Case & Test Script same OR different | Geek_Guest | Test Cases | 8 | 06-11-2008 12:51 AM |
| Diff bet Test Strategy, test plans and test case | vikas_goel28 | Testing Issues | 4 | 03-02-2008 11:56 AM |
| Use case statement and Test Case | JobHelper | Testing Issues | 3 | 06-16-2007 06:28 AM |