[Test Scenario] Generic template to test Date ranges in your app 📅

Sajitha Pathirana
5 min readJul 13, 2023

During my testing career I have observed most of the common scenarios have a specific set of tests to be performed. Here in this I would like to discuss and derive a standard template to test date ranges.

Less hassle with date-pickers

It is one of the most common scenarios you come across in applications to validate the functionality around dates. Depending on the requirements the complexity may vary. If anything is missed, defect could be catastrophic.

On the other hand, most commonly, requirement specification does not fully detail out the expected behaviour of the functions of the dates.

Hence it is essential to have an idea on what should be validated in a scenario that involves dates.

Let’s talk about a simple scenario that involves date range.

As a user I should be able to retrieve data for the transactions happened between two given dates

UI Mock 01 — Date From, Date To view

--

--

Sajitha Pathirana

A Test automation enthusiast, passionate to help the teams to enhance their testing journey with his decade of experience in the field.