Minorbug Logo

Text and Number Input Testing - Key Test Cases for Web Form Field Validation

This page covers general test cases for text and number input fields used in web forms. From handling whitespace and field length limits to drag-and-drop functionality and validation logic, these tests help ensure robust, user-friendly input behavior. For more detailed testing of specific input types—such as text, number, or IBAN—please refer to the dedicated subpages.

NrTest Idea
1Check the parent page testcases for general input field testing guidelines
2Check if you can save for the first time with an empty field
3Check how long values can be entered into the field
4Check if the field width is comfortable - values should be visible in full length
5Check if it is possible to remove saved value by removing the value and saving empty field
6Check how easy it is to copy the value from the field. Also when the field is disabled
7Check how whitespaces before, after and in the middle of the value are handled. Also, try to save with only whitespaces
8Check if the field should have some kind of validation (email, phone, etc)
9Check if it is visibly clear when the focus is on the field (cursor should be visible for example)
10Check if it is possible to drag&drop value from and to the field
11Check https://github.com/minimaxir/big-list-of-naughty-strings that has a large number of examples that can be used for testing