Test cases for URL field – URL is the most important part of any website. In this article, we have mentioned sample test cases for URL. It will be helpful while executing URL field test scenarios.
We have covered positive and negative test cases for URL field. We also mentioned test cases for URL validation. It is shown below.
Positive Test cases for URL Field
Sr.No | Testcase_ID | Test Cases |
1 | Testcase_01 | Verify that the URL field is clickable or not |
2 | Testcase_02 | Verify that the user is able to enter URL or not |
3 | Testcase_03 | Verify that user should be able to paste URL in URL field |
4 | Testcase_04 | Verify URL field functionality with http:// URL |
5 | Testcase_05 | Verify URL field functionality with https:// URL |
6 | Testcase_06 | Verify URL field functionality with www URL |
7 | Testcase_07 | Verify that the user should be navigated on the proper page while entering the URL address |
8 | Testcase_08 | Verify URL field functionality with .in extension domain |
9 | Testcase_09 | Verify URL field functionality with .com extension domain |
10 | Testcase_10 | Verify URL field functionality with .xyz extension domain |
11 | Testcase_11 | Verify that URL field with the maximum length |
12 | Testcase_12 | Verify that URL field with the minimum length |
13 | Testcase_13 | Verify that the user is able to add spaces or not in the URL field or not |
14 | Testcase_14 | Verify that the user is able to add only names in the URL field or not |
Negative Test cases for URL Field
1 | Negative_01 | Verify that error message is displayed or not when blank URL field search |
2 | Negative_02 | Verify that the URL field contain parameters or not |
3 | Negative_03 | Verify that the user is able to allow add or remove forward slashes “/” or not |
4 | Negative_04 | Verify that URL field behavior when entering encoded URL |
5 | Negative_05 | Verify that the user is able to navigate with only https://www or not |
6 | Negative_06 | Verify that the user is able to add URL without extension or not |
7 | Negative_07 | Verify that the user is able to add the only domain in the URL field or not |
Test Cases for URL Validation
Sr.No | Testcase_ID | Test Cases |
1 | Validation_01 | Verify that the user should not able to enter and submit an invalid URL in the URL field. e.g. abc565656 |
2 | Validation_02 | Verify that the user is able to get a validation error message when entering an invalid URL in the URL field for incorrect format. |
3 | Validation_03 | Verify that invalid format should not be accepted in the URL field. E.g http\\….. Or https\\….. |
4 | Validation_04 | Verify that the user should not be able to submit a blank URL field. |
Conclusion:
So as mentioned above, test cases for URL field are useful for any web application testing. If you are also looking for such type of content then please visit the below link for more test cases examples that are useful while website testing.
Thank you Reader…!!