Test Scenarios of Date field
Hello friends! in this post we will see some test scenarios for the dateField or Calendar widget.
- Verify that on clicking the datefield a calendar widget should open.
- Verify that the default width of the calendar should be displayed as per the specification.
- Verify that user can select a date in the calendar and after slecting the date the same gets displayed in the date field.
- Verify that by default current month's calendar should be displayed.
- Verify that user can move to previous and next month's calendar by choosing the left and right icon over the calendar.
- Verify that user can check a specific year's calendar.
- Verify that user enter date manually in the date following the date format.
- Verify that user can edit a date set by choosing the one selected from the calendar.
- Verify that values other than numerics should not be allowed in the date field(apart from the charcters used in the date format like '/' or '-'.
- Verify that invalid dates are not allowed in the date field (like date value exceeding 31, month value exceeding 12 etc).