Testing Resources Logo

Autocomplete Testing - Key Test Cases to Validate Search Suggestions and Input Predictions

Autocomplete features enhance user experience by providing real-time suggestions. This guide covers test cases for autocomplete functionality, including suggestion accuracy, performance, keyboard navigation, accessibility, and handling of various input scenarios.

NrTest Idea
1Check how many characters (minimum) need to be typed so that suggestions would be displayed
2Check that suggestions would be updated continuously while typing in the input field
3Check that suggestions would be updated continuously while erasing characters from the input field
4Check that suggestions would include results where the input string is at the start, end or in the middle of the suggestion
5Check how the suggestions should be ordered
6Check that suggesting would work with cases that contain multiple words
7Check that pasting the value in the autocomplete field would give the same results as typing it in the field
8Check possible suggestions from the database and see what kind of special characters they contain - see if they are displayed in the suggestions
9Check if suggestions are case insensitive
10Check that additional parts in the suggested rows would be highlighted (rather than the part that user has typed in)
11Check that it would be clear for the user if there are no suggestions found
12Check that result count would have a limit and that it would be a sensible limit
13If there are more suggestions than can be displayed (limit reached) check that correct ones would be displayed
14Check if you can move through results with up, down and also with TAB key on the keyboard
15Check that suggestion selected with the mouse cursor or with the keyboard would be highlighted
16Check if you can select the result with enter key
17Check if you can select the result with mouse
18Check suggestions display speed
19When suggestions come from data that can be marked as deleted in the system check if they should be excluded from suggestions