Want to click URL displayed in the Katalon LogViewer Message; Want to quickly open it in browser

**OS : **Windows 7

Katalon Studio Version :

## Katalon Studio logs:

I don’t think log is necessary for this case.

## Environment (for Web testing)

I am using Firefox 52

## Environment (for Mobile testing)


## Steps to reproduce -

I made a set of TestCases as follows:

url = "$GlobalVariable.G_URLScheme://$GlobalVariable.G_Hostname/prefecture/" + prefectureId
WebUI.callTestCase(findTestCase('Modules/VerifyAccessibilityOfExternalLinksInAPage'), ['targetURL': url], FailureHandling.STOP_ON_FAILURE)


 * Test Cases/Common Test Cases/VerifyExternalLinksAccessibility
 * @param targetURL
  allLinks = WebUI.getAllLinksOnCurrentPage(true, [])
  allLinks.each({ def link ->
    if (shouldCheckForAccesibility(link)) {
      boolean result = CustomKeywords.'com.happymigration.UrlUtils.verifyUrlAccessible'(link)
      WS.comment('Verifying a link to ' + link) // URLがアクセス可能かどうかを調べる
      WS.verifyEqual(true, result, FailureHandling.CONTINUE_ON_FAILURE)
    Thread.sleep(500 /* wait for 0.5 second,  to be gentle for the targeted site */)
def shouldCheckForAccesibility(String url) {
  if (!url.startsWith('http://') && !url.startsWith('https://')) return false
  if (url.contains(GlobalVariable.G_Hostname)) return false
  if (url.contains('style.nikkei.com')) return false
  if (url.contains('font-awesome')) return false
  if (url.contains('fonts.googleapis.com')) return false
  if (url.contains('www.facebook.com')) return false
  if (url.contains('twitter.com')) return false
  return true

My CustomKeyword com.happymigration.UrlUtils.verifyUrlAccessible checks When I run the TestCase I got following Log messages came up:

INFO 03-01-2018 09:28:05 午前 Verifying a link to 404 Not Found
FAILED 03-01-2018 09:28:05 午前 Unable to verify equal between actual object ‘true’ and expected object ‘false’ (Root cause: Actual object ‘true’ and expected object ‘false’ are not equal)

## Actual Behavior -

As soon as I saw the FAILED message I wanted to open the problem URL in FireFox browser to check why. I tried CLICKing the URL string displayed in the Log Viewer message, but I could not. I had to open FireFox and type the URL in the address bar and do SEND — it was a long way to go.

**## Proposed Behavior -
I want Katalon Studio render, in LogViewer message, a URL string which starts with “http://” and “https://” as a CLICK-able link.

## Screenshots / Videos

Please find attached image.


1 Like

By the way, how can I edit the above text? I found a few typos in the above post, so I want to edit it, but how? I do not find [Edit] button for the FORUM posts. I know that I can edit Post comments, but I do not know how to edit the initial text.

1 Like