Quality Testing

Quality is delighting customers

Can anyone tel me the test case scenario of dd/mm/yyyy format ?

Can anyone tel me the test case scenario of dd/mm/yyyy format ?

Views: 8043

Reply to This

Replies to This Discussion

Test case for date field:

i) check for the date format mm/dd/yyyy or dd/mm/yyyy
ii) check for month values greater than 12
iii) check for date values greater than 31
iv) date 31 should not be accepted for the  even month and should be accepted for the odd month
v) check for leap year

Thanks Nagaraju......

Hi Sunil,

You should check 30th & 31st date for February month.

Thanks Sonal...

WC Sunil............... :)

Could you please explain what type of field you offer user to enter date (drop downs, calendar, text field, etc.) so that we will able to explain all scenarios. 

Text

1.enter the invalid date and valid month and valid year
2.enter the valid date and valid month and invalid year
3.enter the valid date and invalid month and valid year
4.the valid date and invalid month and invalid year
5.enter the invalid date and invalid month and invalid year
6.enter the invalid date and valid month and invalid year
7.enter the invalid blank space and valid month invalid
blanck space
8.enter the invalid blank space and invalid blank space and
invalid blank space
9.the zeros in date and invalid blank space and zeros
in year....................... like that
10.Check whether the year entered is leap or ordinary year.
11.For ordinary year the max limit of number in day field in
the month should be 31.
12.For leap year the max limit of number in day field in the
month Feb should be 29.
13.With respect to the corresponding alternate months
corresponding numbers in day field i.e 30/31 should be
accepted.
14.Enter the date below/beyond the range, i.e 32 or 0 etc.
15.Enter the month below/beyond the range,i.e 13 or 0...
16.Enter zero before the single digit number in date/month.

Thanks Poorna...

  Question is about Test Scenario but ALL are replying about Test cases ...   here we will be having only two scenario ..

1) Ensure that Valid dates are  accepted in specified format only.. ( Positive Scenario )

2) Ensure that invalid dates are not accepted (irrespective of their Format ). ( Negative Scenario ).

further the test cases will be written under these two scenarios ....

Thanks ,

Samrat Jha.

Thanks Samrat Bhai... :)

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service