In this post, we have tried to cover maximum test scenarios for date of birth field. We included positive and negative test cases for date of birth.
Positive – Test Cases for Date of Birth Field
Sr.No | Testcase_ID | Test Cases |
1 | Testcase_01 | Verify that type of the date of birth field |
2 | Testcase_02 | Verify that the birth date field is editable or not |
3 | Testcase_03 | Verify that the user is able to select the Days drop-down list or not |
4 | Testcase_04 | Verify that the user is able to select Months drop-down list or not |
5 | Testcase_05 | Verify that the user is able to select the Years drop-down list or not |
6 | Testcase_06 | Verify that the date format for the date of birth |
7 | Testcase_07 | Verify that 1 to 31 days should be displayed in the Days dropdown list |
8 | Testcase_08 | Verify that 1 to 12 months should be displayed with the name in the Months drop-down list |
9 | Testcase_09 | Verify that years should be listed as per requirements in the Years drop-down list |
10 | Testcase_10 | Verify that the user is able to select any date from the Days drop-down list |
11 | Testcase_11 | Verify that the user is able to select any month from the Months drop-down list |
12 | Testcase_12 | Verify that the user is able to select any Year from Years drop-down list |
Negative – Test Cases for Date of Birth Field
Sr.No | Testcase_ID | Test Cases |
1 | Negative_01 | Verify that future dates should not be displayed in the drop-down list. |
2 | Negative_02 | Verify that if the required field then the user should not be left it blank field |
3 | Negative_03 | Verify that the user is able to select a multiple options drop-down list or not |
Conclusion:
So in this way, we covered test cases for birth date field. If you are looking for more examples then please visit the link below.
Thank you, Readers….!!