Results 1 to 7 of 7

Thread: Test case for date

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    4

    Test case for date

    how to write test case for date format mm/dd/yyyy? What are the attributes should be considered here?


  2. #2

    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.


  3. #3
    Junior Member
    Join Date
    Feb 2009
    Answers
    2

    Re: Test case for date

    [QUOTE=sachin_prasi;22244]how to write test case for date function and what is the format of writing it?


  4. #4
    Expert Member
    Join Date
    Apr 2008
    Answers
    1,859

    Re: Test case for date

    [QUOTE=sonalisa;41200]
    Quote Originally Posted by sachin_prasi View Post
    how to write test case for date function and what is the format of writing it?
    hi sonalisa,

    Please check sridhar's reply which is apt, which has been posted by him above your thread.

    Thanks
    Deepa

    Arise Awake And Stop Not Till The Goal Is Reached

  5. #5
    Junior Member
    Join Date
    Feb 2009
    Answers
    2

    Re: Test case for date

    hi answer plz?


  6. #6
    Contributing Member
    Join Date
    Nov 2008
    Answers
    62

    Re: Test case for date

    Hi Sonalisa,

    Can you please expend your question detail?

    Regards,
    Senthil kumar Venu


  7. #7
    qawebb
    Guest

    Re: Test case for date

    The above example is quite elaborate. Gives a good idea.

    Regards
    DWebb


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact