Geeks Talk

Prepare for your Next Interview




Test case for date

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?...


Go Back   Geeks Talk > Software Testing > Test Cases

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-10-2007
Junior Member
 
Join Date: Dec 2007
Location: Bangalore
Posts: 4
Thanks: 0
Thanked 2 Times in 1 Post
sachin_prasi is on a distinguished road
Test case for date

how to write test case for date format mm/dd/yyyy? What are the attributes should be considered here?
Reply With Quote
The Following 2 Users Say Thank You to sachin_prasi For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 12-10-2007
Moderator
 
Join Date: Sep 2007
Location: Chennai, INDIA
Posts: 406
Thanks: 2
Thanked 157 Times in 81 Posts
sridharrganesan will become famous soon enoughsridharrganesan will become famous soon enough
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.
Reply With Quote
Reply

  Geeks Talk > Software Testing > Test Cases


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 02:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved