Testing Resources Logo

Input Field Testing - General Test Cases for Various Input Types

This page covers general test cases that apply to different types of input fields used in web applications. These tests help ensure fields are correctly labeled, aligned, functional, and accessible across forms. For test cases targeting specific input field types, such as text boxes, radio buttons, or dropdowns, please refer to the dedicated subpages. Use this guide to verify key aspects like field behavior, validation, error handling, and interaction.

NrTest Idea
1Check if the correct field type is in use (radio vs drop-down for example)
2Check that mandatory fields have an asterisk (*) symbol
3Check if the label for the field is informative enough
4Check if the disabled field is easily distinguished
5Check that all fields are aligned correctly
6Check if you can move to the field with TAB (and shift + TAB) or should the field be skipped when moving with TAB
7Check if it is possible to change and save the field value
8Check if history for the field is saved and visible if needed
9Check if the correct value is displayed in the field (also when the field is disabled)
10When saving the form and there is a problem with the field, then check if focus goes to the field
11When there is an error in submitting the page the values entered by the user should remain (so they could be submitted again after correcting the problems)
12When there are errors on page submit then all of them should be displayed at once (so that all of them could be fixed before submitting again)
13When there are errors on page submit then check that correct fields would be highlighted
14Check the conditions when the input field should be enabled/disabled
15Check the conditions when the input field should be visible
16If the input field should affect other webpage elements or other elements should affect the input field then check the correctness of that behavior