In this post, we have tried to cover maximum test scenarios for address field. Interviewers mostly asked for address field test cases so we included positive, functional, and negative test cases for address field.
Positive Test Cases For Address Field
Sr.No | Testcase_ID | Test Cases |
1 | Testcase_01 | Verify that address field design is as per requirement or not |
2 | Testcase_02 | Verify that the address field layout is as per requirement or not |
3 | Testcase_03 | Verify that address field height is as per requirement or not |
4 | Testcase_04 | Verify that address field width is as per requirement or not |
5 | Testcase_05 | Verify that address field length is as per requirement or not |
6 | Testcase_06 | Verify that the address field color is as per requirement or not |
7 | Testcase_07 | Verify that the address field is a required field or not |
8 | Testcase_08 | Verify that if it is a required field then a red “*” mark should be displayed. |
Functional Test Cases For Address Field
Sr.No | Testcase_ID | Test Cases |
1 | Functional_01 | Verify that when the user clicks on the address field the text cursor should be displayed in the address field |
2 | Functional_02 | Verify that the user should be able to enter alphabetic characters in the address field or not |
3 | Functional_03 | Verify that the user should be able to enter numeric characters in the address field or not |
4 | Functional_04 | Verify that the user should be able to enter special characters in the address field or not |
5 | Functional_05 | Verify that the maximum length of the address field |
6 | Functional_06 | Verify that the minimum length of the address field |
7 | Functional_07 | Verify that the user should get a validation error message if a user left a blank field |
8 | Functional_08 | Verify that the user is able to enter a combination of alphanumeric characters into the address field or not |
9 | Functional_09 | Verify that the user is able to enter a combination of alpha special characters into the address field or not |
10 | Functional_10 | Verify that the user is able to enter a combination of numeric and special characters into the address field or not |
11 | Functional_11 | Verify that the user is able to enter a combination of alpha, numeric and special characters into the address field or not |
12 | Functional_12 | Verify that the validation message should be displayed properly below the address field |
Negative Test Cases For Address Field
Sr.No | Testcase_ID | Test Cases |
1 | Negative_01 | Verify that the user should not be saved as a blank address field if it is required |
2 | Negative_02 | Verify that if the user presses a space bar and try to save a blank field then it should be displayed a validation message |
Conclusion:
So in this way, we covered test cases on the Address Field. If you are looking for more examples then please visit the link below.
Thank you, Readers….!!