Test Scenarios for Search Functionality: Search functionality is the most common functionality for all websites. If you are looking for some specific result then you will use the search functionality. So as a tester what should be tested for the search functionality we have covered in this article.
Positive Test cases For Search Functionality
Sr.No
Testcase_ID
Test Cases
1
Positive_01
Verify that the search box layout is as per specification or not
2
Positive_02
Verify that the search box design is as per specification or not
3
Positive_03
Verify that the search box is properly aligned or not
4
Positive_04
Verify that the search box length is as per specification or not
5
Positive_05
Verify that the search box height is as per specification or not
6
Positive_06
Verify that width of the search box is as per specification or not
7
Positive_07
Verify that color of the search box is as per specification or not
8
Positive_08
Verify that placeholder should be displayed properly in the search box
9
Positive_09
Verify that the label text for the search box is properly displayed or not
10
Positive_10
Verify that if the user clicks on the search box then the text cursor should be displayed in the search box.
11
Positive_11
Verify that if the user enters a valid keyword then the relevant search result should be displayed
12
Positive_12
Verify that the user is able to search with only alphabetic characters or not
13
Positive_13
Verify that the user is able to search with only numeric characters or not
14
Positive_14
Verify that the user is able to search with only special characters or not
15
Positive_15
Verify that the user is able to search with alphanumeric characters or not
16
Positive_16
Verify that if the user enters an invalid keyword then no search result should be displayed for grid records
17
Positive_17
Verify that if there are more records on a page then pagination functionality should be displayed.
18
Positive_18
Verify that the total number of search results should be displayed
19
Positive_19
Verify that the user is able to copy text and paste in the search box or not
20
Positive_20
Verify that response time should be as expected for a search query
Negative Test cases For Search Functionality
Sr.No
Testcase_ID
Test Cases
1
Negative_01
Verify that the user should be able to search with special characters like %, *, #
2
Negative_02
Verify that the user is able to blank search or not
3
Negative_03
Verify that the user should be able to search with special characters like %, *, #
4
Negative_04
Verify that if the user enters only space and tries to search
5
Negative_05
Verify search functionality with maximum characters
6
Negative_06
Verify search functionality with minimum characters
Conclusion:
So in this way, as above we mentioned some common test cases for search functionality. If you are looking for more test cases examples then please visit the links below.