What are Broken Links and why they needs to be checked?

0 votes
What are Broken Links and why they needs to be checked?
6 days ago in Selenium by Umang
7 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey Umang, Broken links are links or URLs that are not reachable. They may be down or not functioning due to some server error. A valid URL will always have a status with 2xx. There are different HTTP status codes which are having different purposes. For an invalid request, HTTP status is 4xx and 5xx. 4xx class of status code is mainly for client side error, and 5xx class of status codes is mainly for the server response error. We will most likely be unable to confirm if that link is working or not until we click and confirm it.

We should always make sure that there are no broken links on the site because the user should not land into an error page. The error happens if the rules are not updated correctly, or the requested resources are not existing at the server. Manual checking of links is a tedious task, because each webpage may have a large number of links & manual process has to be repeated for all pages. An Automation script using Selenium that will automate the process of checking broken links is a more apt solution.

answered 6 days ago by Anvi
• 5,880 points

Related Questions In Selenium

+2 votes
2 answers

What are the different Locators that can be used to access Web Elements?

@Nitesh, I would like to tell you ...READ MORE

answered Dec 12, 2018 in Selenium by Priyaj
• 56,120 points
38 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,030 points
3,500 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,030 points
65 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
438 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
51 views
0 votes
1 answer

What is Log4j and what are its advantages??

Hi Benny, Log4j is a brilliant logging API ...READ MORE

answered 2 days ago in Selenium by Anvi
• 5,880 points
8 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.