Minorbug Logo

Dropdown Testing - Key Test Cases for Select Menus and Keyboard Accessibility

Dropdown menus are widely used for user selections, and proper testing ensures they function correctly across devices and input methods. This guide provides essential test cases to validate dropdown behavior, default values, option handling, keyboard support, and accessibility. Use these test cases to verify that your select menus offer a seamless and user-friendly experience in web applications.

NrTest Idea
1Check the parent page testcases for general input field testing guidelines
2Check if drop-down width is comfortable - no extra empty spaces and all the values fit the field
3Check that the correct default value is being displayed in the drop-down when there is no value saved yet
4Check if values are logically ordered in the drop-down list
5Check if all the options are unique in the drop-down
6Check if all the necessary values are present in the drop-down list or are there any missing or redundant values
7Check if drop-down should also have blank or 'Select' value
8When selecting a value from drop-down then it should be highlighted
9It should be possible to go through drop-down selections with arrow keys
10It should be possible to select values from the drop-down with letter keys from the keyboard
11It should be possible to open drop-down with 'Enter' and to close it with 'Enter' or 'Esc'
12After saving non-default value check if it is being displayed also after refreshing the page (value is saved to the database)
13Check what happens when you save blank / 'Select' option (with first save and with existing saved value)