A website or mobile application without a search box is difficult to find. Search bar makes a new user to find something from the new website or application. We will always place the search bar at the top of the page, which will be an attractive feature that must capture the user’s attention. Testing search boxes or Search option testing is relevant in automation testing. We need to ensure that we confine search results and display them accordingly.
Search suggestions:
It is an option in which on searching a word, related suggestions respective to that word will be provided. Here are some tips on testing search suggestions:
- On typing a single word in the search box for Search option testing, we should display a dropdown list.
- We should enable the selection of a desired search word from that dropdown.
- We need to enable the auto-completion of a word to make the user more clear in that point of view. The user can then easily navigate to the desired pages.
- Check if when the suggestion is provided, whether it is after typing the 3 letters or more it is more precise.
- Verify that suggested results take us to the desired pages.
- Is Listed suggestion related to the word typed in the search box.
- Is suggestion changes on typing the words and changing those in the search tab, i.e. increase and decrease in the words.
- Verify that search history or the suggestion that is shown when the search box is clicked is different for the users that logged from different accounts in the same device.
Advanced search options:
In advanced search option there will be search filter available, i.e for example in an eCommerce application we can search on the basis of products or brands etc We have to look whether the advanced search option is easily accessible and should be responsive.
On searching in advanced search options, the results should be much accurate and specific. We have to check that the results are relevant and according to the search and it should be more specific.
We need to verify the extra features that are provided in the advanced search options, and need to test all those functionality.
Verify that “no results” should not be shown, if else that should be hidden. Here are some tips for functionality testing of advanced search options:
- We need to make the search filter options visible. In eCommerce applications, the search filter will be shown only after typing a word. Check if that filter option is clickable and navigates to the specific page.
- Verify that we can search by brands, price, product, colour, size etc., in the filter options.
- Verify that the system shows results specifically according to the search option.
- Check if all the functionalities in the search are defined or working fine.
- We need not show or display the “No results” option. Instead it can lead to a customer support page or any other.
- We should allow editing of the filtering option.
- It should be responsive on mobile also.
- Clearing the search tab, it should redirect to the search page or home page.