Dropdown Test Cases: In this how-to, we will walk through how to write test cases for filters. Many applications make use of dropdown filters. Some examples include Google Spreadsheets, Twitter, Amazon, and any modern application. As a result, creating test cases for filters applies to most testers. Follow along with this how-to and finish your application’s first test case by creating your account in our free test case management tool. Before starting our test case, we need to define the Acceptance Criteria.
What are the Acceptance Criteria for our filters?
As discussed in our requirements post, we must have functional requirements. So let’s go ahead and define them as such:
Description: “As an online retailer, users must be able to select and filter the category of product they are searching.”
Dropdown Test Cases Acceptance Criteria:
- Display a complete list of product database categories in the filter dropdown.
- Show products tagged with the same category as selected in the dropdown.
- What are the Filters Test Scenarios?
- We will want to document several test scenarios to create test cases for filters successfully. At a high level, they will include:
Likewise, I can give an N number of scenarios. For that, I just need more requirements. Whatever points I have given you, those are just for a simple DROP DOWN.