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