Long running step times out at 600 seconds

## **OS **Windows 10

## Katalon Studio Version 5.3.0

## Environment (for Web testing)

Any browser - tested in Chrome 63.0.3239.132 (Official Build) (64-bit), Firefox 58.0.2 (64-bit), and IE 11 (though IE had other unrelated issues as well)

## Steps to reproduce -

Download any file that takes more than 10 minutes to complete. Must use synchronous form submission to see results - asynchronous submissions release script to complete before download completes.

## Other steps attempted -

Went through changing both the project and global timeout variables to try and force it longer. Tried adding delay steps which delay before or after the click event, but do not affect the click event itself.

## Script Used -

import statements from Katalon Studio…

WebUI.mouseOver(findTestObject(‘Object Repository/KPI_Dashboard/a_Admin’))

WebUI.click(findTestObject(‘Object Repository/KPI_Dashboard/a_Reports’))

WebUI.click(findTestObject(‘Object Repository/KPI_Dashboard/a_KPI - Patient Data’))

//fails at the next step

WebUI.click(findTestObject(‘Object Repository/KPI_Dashboard/input_generate_schedule_report’))

WebUI.click(findTestObject(‘Object Repository/KPI_Dashboard/span_Click Here When Done’))

## Console Output -

02-23-2018 02:49:14 PM - [START] - Start action : click

02-23-2018 02:49:14 PM - [INFO] - Finding Test Object with id ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’

02-23-2018 02:49:14 PM - [INFO] - Checking object

02-23-2018 02:49:14 PM - [INFO] - Checking timeout

02-23-2018 02:49:14 PM - [INFO] - Finding web element with id: ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’ located by ‘By.xpath: //input[@type = ‘button’ and @name = ‘generate_schedule_report’]’ in ‘2,400’ second(s)

02-23-2018 02:49:14 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’ located by ‘By.xpath: //input[@type = ‘button’ and @name = ‘generate_schedule_report’]’ in ‘2,400’ second(s)

02-23-2018 02:49:14 PM - [INFO] - Clicking on object: ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’

[1519415955.372][SEVERE]: Timed out receiving message from renderer: 600.000

[1519415955.372][SEVERE]: Unable to retrieve document state timeout: Timed out receiving message from renderer: 600.000

[1519415955.377][SEVERE]: Timed out receiving message from renderer: -300.677

02-23-2018 02:59:16 PM - [FAILED] - Unable to click on object ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’ (Root cause: org.openqa.selenium.TimeoutException: timeout

(Session info: chrome=63.0.3239.132)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.16299 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘THIGGINS-LT’, ip: ‘192.168.30.105’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\thiggins\AppData\L…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 63.0.3239.132, webStorageEnabled: true}

Session ID: 2306bcb2a4f3baf337e4058e11e480e5)

02-23-2018 02:59:16 PM - [END] - End action : click

02-23-2018 02:59:16 PM - [FAILED] - Test Cases/Admin_Reporting/KPI_Dashboard FAILED because (of) Unable to click on object ‘Object Repository/KPI_Dashboard/input_generate_schedule_report’ (Root cause: org.openqa.selenium.TimeoutException: timeout

(Session info: chrome=63.0.3239.132)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.16299 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘THIGGINS-LT’, ip: ‘192.168.30.105’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\thiggins\AppData\L…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 63.0.3239.132, webStorageEnabled: true}

Session ID: 2306bcb2a4f3baf337e4058e11e480e5)

02-23-2018 02:59:16 PM - [END] - End Test Case : Test Cases/Admin_Reporting/KPI_Dashboard

## Expected Behavior -

Download completes and script continues.

## Actual Behavior -

Download times-out at 600 seconds.

## Other Information -

This appears to be expected behavior by design, however, it is causing issues and effective workarounds have not been described when asked about in the forums. (See forum page Downloading Large Files - Archive - Katalon Community for more information)

It was recommended I file a bug report to have this looked into

1 Like
I have the same problem

If you are trying to download a super large file using Katalon Studio, then it is not recommended. You need to wait until that file is totally is downloaded completely, and it will take quite a long time.

I would suggest not to use Katalon Studio for this approach, so likely we will not consider supporting this for our native timeout. You will need to ‘wait’ for its progress using native code, like this: https://stackoverflow.com/questions/22714112/wait-for-download-to-finish-in-selenium-webdriver-java/46212629#46212629