# Unable to verify Links are accessible

**URL:** <https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [April 5, 2019, 4:26pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593 "2019-04-05T16:26:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 4:26pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/1 "2019-04-05T16:26:49Z")

</div>

I’m attempting to verify links are accessible on a web page but it keeps failing, even though the links are accessible. Here is the relevant info.

 ![03%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/9/92c8faf9558d1f3f1e3befa687e07ae3a31f9563.png) ![01%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/e/ee415bc9a6a2944a1326831e8c4a2d7eb2e26866.png) ![17%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/a/a75c4b6b9dcf5d5a164da1f564f08089d54d8c07.png) ![30%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/a/a706697e93c1cce822d46f15926d9f1c32ae0964.png) ![57%20AM](https://europe1.discourse-cdn.com/katalon/original/2X/9/96d2fab02873b6cb12f30c60ca17b11d055bae5b.png)  
 ![39%20AM](https://europe1.discourse-cdn.com/katalon/original/2X/e/ee4593913d1f12084f325bd87ecfabb5c5cb0dde.png) ![09%20AM](https://europe1.discourse-cdn.com/katalon/original/2X/2/2a4997e7fead3c33201b9a35693a96ca566f26c7.png)  
 ![05%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/d/df860484c78ce3c52c98d778f3c206a158492ae5.png)

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 4:38pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/2 "2019-04-05T16:38:07Z")

</div>

Jeff, post the rest of the error message (the red text).

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 4:40pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/3 "2019-04-05T16:40:34Z")

</div>

It’s in black text. I’m working with a small screen and couldn’t take a screenshot of the entire error in the Katalon Studio window so I copied it to a text document. My attachments aren’t exactly in an understandable order. Sorry about that.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 4:42pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/4 "2019-04-05T16:42:59Z")

</div>

But even they are cut off (look at the scrollbars)

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 4:53pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/5 "2019-04-05T16:53:46Z")

</div>

Sorry about that. I didn’t realize I hadn’t gotten all of the error messages. I reposted them in full.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 5:01pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/6 "2019-04-05T17:01:26Z")

</div>

Hmm. Still not enough info. What version of Kat are you using?

There was a bug in (forgot which recent version) Katalon where it failed to supply the full error message. If you’re behind by a few release, could you pleas update to the latest?

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 7:34pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/20 "2019-04-05T19:34:10Z")

</div>

Ok, I’ve upgraded to the latest version and here are the error logs that I get when attempting to verify links accessible with the latest version. The first one is the errors displayed when the test case itself is highlighted in the log view. The second one is what is displayed when I highlight the step that is failing, line 64.

[Error log 1.txt](https://europe1.discourse-cdn.com/katalon/original/2X/e/e763bc51963ebb2fc15fc7da7c15035b589a4b79.txt) (2.8 KB)  
[Error log 2.txt](https://europe1.discourse-cdn.com/katalon/original/2X/6/6a609adc682ae943654b9f87c087a4d7858a4962.txt) (3.4 KB)

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 7:41pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/21 "2019-04-05T19:41:19Z")

</div>

So it’s saying that four of the links were inaccessible.

```auto
Caused by: com.kms.katalon.core.exception.StepFailedException: Found 4 inaccessible links ...

```

Is it possible there is a timing issue? (I have to admit I’m not familiar with the behavior of `verifyLinksAccessible`)

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 7:43pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/22 "2019-04-05T19:43:23Z")

</div>

Notice also, it’s the same four links…

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 7:45pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/23 "2019-04-05T19:45:11Z")

</div>

Well it’s only trying to access 4 links, so all of them are failing. Not sure about it being a timing issue. I put in a delay just before it attempts to verify the links but that didn’t work. I think I’ll try with other links and see if I can get this to work.

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 7:53pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/24 "2019-04-05T19:53:53Z")

</div>

So I tried a different link, just one, and that didn’t work either. Seems to be the same errors. I wonder if there is a bug with that keyword (WebUI.verifyLinksAccessible)?

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 7:58pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/25 "2019-04-05T19:58:32Z")

</div>

I tried a completely different page and link and no luck. Still giving me the same errors.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 8:08pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/26 "2019-04-05T20:08:11Z")

</div>

I tried this:

```auto

WebUI.navigateToUrl("https://www.katalon.com/about-us/")

WebUI.waitForPageLoad(10)

WebUI.verifyLinksAccessible(["https://www.katalon.com/resources-center/blog/", "https://www.katalon.com/partners-and-contributors"])

```

which works.

I’m on 6.0.6 if that means anything.

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 8:17pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/27 "2019-04-05T20:17:11Z")

</div>

Ok, I tried that and it worked for me too. It must have something to do with my site/links. Because I’m able to verify links on other sites.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 8:24pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/28 "2019-04-05T20:24:02Z")

</div>

So Jeff, when you finally dig out the problem, PLEASE post back the solution. You won’t be the only person to have suffered this problem…

Same your site is not public.

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 8:26pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/29 "2019-04-05T20:26:24Z")

</div>

Well this is our test server, not prod, so we use an .htaccess file. But even if I put in the credentials in the link, it won’t verify links on my site. I’m going to try on our public site next.

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 8:28pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/30 "2019-04-05T20:28:43Z")

</div>

Yes, it worked on our public site. So apparently this keyword won’t verify links on a restricted site for some reason. There must be a way around it, though. Why would restricted access to a site not work? Everything else works fine except this particular keyword.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 8:35pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/31 "2019-04-05T20:35:20Z")

</div>

Now you have a bug report. Or, at least, a Suggestion.

Make sure you layout the scenario clearly, if you decide to post it.

Okay if I close this one? (I’ll mark your last post as the solution).

---

<div class="post-metadata">

**Author:** ![Jeff\_Sharp](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jeff\_Sharp](https://forum.katalon.com/u/Jeff_Sharp)\
**Post date:** [April 5, 2019, 8:38pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/32 "2019-04-05T20:38:46Z")

</div>

Yes, you can close this one and mark my last post as the solution. I’ll keep testing and try to uncover more details before posting a bug report/suggestion. Thanks for your help!!

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [April 5, 2019, 8:39pm UTC](https://forum.katalon.com/t/unable-to-verify-links-are-accessible/22593/33 "2019-04-05T20:39:05Z")

</div>

Closed on April 5, 2019, 8:39pm UTC


