Test cases for Search Filter : In this article, we have to try to mentioned some positive and negative test cases on search filter functionality that will helps you to increase your search functionality quality.
Positive Test cases for Search Filter
Verify that the search filter button is clickable or not.
Verify that if the user clicks on the filter button then filter options should be displayed properly.
Verify that filter options should be displayed as per the client’s requirements or not
Verify that all filter options should be clickable or not
Verify that if the user clicks on the filter button the “Cancel” and “Apply” buttons are displayed or not
Verify that if the user clicks on the “Cancel” button then all filter windows should be closed without any error.
Verify that the “Apply” button should be disabled until you select any filter.
Verify that all dropdown lists should be displayed as expected or not
Verify that all radio buttons should be displayed as expected or not
Verify that all checkboxes should be displayed as expected or not
Verify that the user is able to select an option from the drop-down list or not
Verify that the user is able to select an option from the radio button field or not
Verify that the user should be select options from the checkboxes or not
Verify that the user should be able to clear all filters or not
Verify that all labels text should be displayed properly or not
Verify that all field alignment is proper or not.
Verify that if the user selects an option from filters then the relevant result should be displayed in a search result
Verify that select options from filters are highlighted or not
Verify that the user is able to get search results with multiple filters or not
Verify that it should not be have any spelling mistakes in search filters
Verify that if the user clears all filter then the search result reload based on a search query
Verify that the user is able to remove one by one option from the filter or not
Verify that if the user clicks on the “Clear All” button then all filters should be cleared.
Negative Test cases for Search Filter
Verify that the user is able to search blank search or not.
Verify that it should not be have any spelling mistakes in label text and options
Verify that the user should not get the irrelevant results using a filter search
So in this way, as above we mentioned some common search filter test cases. If you are looking for more test cases examples then please visit the links below.