The document outlines 25 test cases for validating URLs. The test cases cover a variety of scenarios such as pasting URLs via keyboard or mouse, submitting URLs with and without protocols, checking different domain extensions, handling spacing, validating minimum and maximum lengths, encoding, parameters, special characters, and displaying error messages for invalid inputs. The document also advertises a video and Telegram channels related to website testing and testing jobs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
227 views8 pages
11 - Test Cases For URL
The document outlines 25 test cases for validating URLs. The test cases cover a variety of scenarios such as pasting URLs via keyboard or mouse, submitting URLs with and without protocols, checking different domain extensions, handling spacing, validating minimum and maximum lengths, encoding, parameters, special characters, and displaying error messages for invalid inputs. The document also advertises a video and Telegram channels related to website testing and testing jobs.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8
Chapter 11
Test cases for URL
Test Cases For URL 1. Verify by clicking in the input URL field that the user can access the field. 2. Verify user can type URL in the field. 3. Verify user can paste URL with the keyboard key URL in the field. 4. Check by pasting the URL in the field with the help of mouse. i-e right click and paste the text with paste option. 5. Paste URL and press enter key on the keyboard result generation process should be started. Test Cases For Checkbox 6. Check by adding a valid URL with https://. e.g https://mohantyacademy.blogspot.com/ 7. Check by adding a valid URL with http://. 8. Verify by adding all the extensions or TLD’s. .in, .be, .xyz, site etc. 9. Check by adding spaces at the start of the URL, click on the button,spaces should not be considered. 10. Check by adding spaces at the end of the URL spaces should be trimmed. Test Cases For Checkbox 11. Check by adding only the domain name without https:// 12. Check by without entering the URL in the field and click on the button. A proper error message should be shown. No URL found! 13. Verify by adding an IP address of the website and click on the button. 14. Check by adding a valid URL without extension. Test Cases For Checkbox 15. Check by adding only the name of the site without adding. dot in the URL field. 16. Check by adding only the extension. https://www.com 17. Check by adding the URLs of the maximum length. e.g https://mohantyacademy.com/test-cases-for-forgot-password/ 18. Check by adding the URLs of the minimum length. e.g https://mohantyacademy.com/ 19. Verify the behaviour of the application by entering an encoded URL. Test Cases For Checkbox 20. Verify a URL containing Parameters. 21. Verify by adding and removing forward slashes /. 22. Verify a URL containing any special characters. e.g # 23. Verify an anchor text URL. 24. Verify on click on the button, an error message shown for blank input or not. 25. Verify on click on the button, an errormessage shown for adding spaces in the URL field or not. Website Testing In this series we will cover Test Scenarios and Test Cases of Different Modules Like - ● Header & Footer ● Upload File/Image ● Login & Login Page ● Registration ● Forget Password ● Payment ● Functional & Design ● Search Bar, URL, Tootip ● CAPTCHA ● Button, checkbox, Dropdown, Delete, Cart.
And Lot’s more
By: Jaikishan Mohanty Share with all your Friends.👫 “Whatever you want to achieve in life, Help others to achieve that!!! “