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