Problem running test on Chrome and Firefox

Dear All,

I"m able to run my test on IE but not Chrome and Firefox. It shows connection problem but the website is not down.

What is the problem?How to solve it?

Hello
if you want correct answer, add attache Error display capture in discussion
i don’t know your correct problem

1 Like

Please help on my problem. Thanks in advance.

This is the error when i running my script on Chrome and Firefox.

Katalon error.png

uhm… i think you should menual connect to that site,
my pc test for that site, well done

jyk said:

uhm… i think you should menual connect to that site,
my pc test for that site, well done

I can connect to the website using chrome manually. I can record the steps using Katalon but failed to connect when running on Katalon. I can run it using Selenium.

Peter Wong said:

jyk said:

uhm… i think you should menual connect to that site,
my pc test for that site, well done

I can connect to the website using chrome manually. I can record the steps using Katalon but failed to connect when running on Katalon. I can run it using Selenium.

can i see the your source code ?

Anyone can help? Thanks.

Anyone can help? Thanks.

My Login Code:

for (def row=1; row <= findTestData('LoginData').getRowNumbers(); row++) {		WebUI.openBrowser('')		WebUI.navigateToUrl('https://www.phptravels.net/')		WebUI.waitForPageLoad(2000)		WebUI.waitForElementClickable(findTestObject('Page_PHPTRAVELS  Travel Technology/a_Login'), 8000)		WebUI.click(findTestObject('Page_PHPTRAVELS  Travel Technology/a_Login'))		WebUI.setText(findTestObject('Page_Login/input_username'), findTestData('LoginData').getValue(1, 1))		WebUI.setEncryptedText(findTestObject('Page_Login/input_password'), findTestData('LoginData').getValue(2, 1))		WebUI.click(findTestObject('Page_Login/button_Login'))		WebUI.click(findTestObject('Object Repository/Page_My Account/a_Logout'))		WebUI.closeBrowser()}

Thanks.

Peter Wong said:

My Login Code:

for (def row=1; row <= findTestData('LoginData').getRowNumbers(); row++) {		WebUI.openBrowser('')		WebUI.navigateToUrl('https://www.phptravels.net/')		WebUI.waitForPageLoad(2000)		WebUI.waitForElementClickable(findTestObject('Page_PHPTRAVELS  Travel Technology/a_Login'), 8000)		WebUI.click(findTestObject('Page_PHPTRAVELS  Travel Technology/a_Login'))		WebUI.setText(findTestObject('Page_Login/input_username'), findTestData('LoginData').getValue(1, 1))		WebUI.setEncryptedText(findTestObject('Page_Login/input_password'), findTestData('LoginData').getValue(2, 1))		WebUI.click(findTestObject('Page_Login/button_Login'))		WebUI.click(findTestObject('Object Repository/Page_My Account/a_Logout'))		WebUI.closeBrowser()}

Thanks.

uhm…i think source code is not problem
capture to console log(or log view) write for me?

Test Cases/Login/Login FAILED because (of) Unable to navigate to
https://www.phptravels.net/’ (Root cause: org.openqa.selenium.WebDriverException:
Reached error page: about:neterror?e=netTimeout&u=https%3A//www.phptravels.net/&c=UTF-8&f=regular&d=The%20server%20at%20www.phptravels.net%20is%20taking%20too%20long%20to%20respond.
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘KUL11N0099313’, ip: ‘172.18.208.1’, os.name: ‘Windows 10’,
os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.core.webui.driver.firefox.CGeckoDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox,
browserVersion: 61.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: false, moz:processID: 16192, moz:profile: C:\Users\kwong\AppData\Loca…, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: XP, platformName: XP, platformVersion: 10.0, proxy: Proxy(direct), rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}
Session ID: 6c9b8240-7b19-4fe5-bab0-f178c01b60c0)

Log:

07-30-2018 11:23:14 AM - [PASSED] - Browser is opened with url: ‘’
07-30-2018 11:23:14 AM - [END] - End action : openBrowser
07-30-2018 11:23:14 AM - [START] - Start action : navigateToUrl
07-30-2018 11:23:14 AM - [INFO] - Checking url
07-30-2018 11:23:14 AM - [INFO] - Navigating to ‘https://www.phptravels.net/
07-30-2018 11:23:36 AM - [FAILED] - Unable to navigate to ‘https://www.phptravels.net/’ (Root cause: org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=netTimeout&u=https%3A//www.phptravels.net/&c=UTF-8&f=regular&d=The%20server%20at%20www.phptravels.net%20is%20taking%20too%20long%20to%20respond.
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘KUL11N0099313’, ip: ‘172.18.208.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.core.webui.driver.firefox.CGeckoDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 61.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: false, moz:processID: 16192, moz:profile: C:\Users\kwong\AppData\Loca…, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: XP, platformName: XP, platformVersion: 10.0, proxy: Proxy(direct), rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}
Session ID: 6c9b8240-7b19-4fe5-bab0-f178c01b60c0)
07-30-2018 11:23:36 AM - [END] - End action : navigateToUrl
07-30-2018 11:23:36 AM - [END] - End action : Statement - For ([row = 1, row <= com.kms.katalon.core.testdata.TestDataFactory.findTestData(LoginData).getRowNumbers(), (row++)])
07-30-2018 11:23:36 AM - [FAILED] - Test Cases/Login/Login FAILED because (of) Unable to navigate to ‘https://www.phptravels.net/’ (Root cause: org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=netTimeout&u=https%3A//www.phptravels.net/&c=UTF-8&f=regular&d=The%20server%20at%20www.phptravels.net%20is%20taking%20too%20long%20to%20respond.
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘KUL11N0099313’, ip: ‘172.18.208.1’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: com.kms.katalon.core.webui.driver.firefox.CGeckoDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 61.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: false, moz:processID: 16192, moz:profile: C:\Users\kwong\AppData\Loca…, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: XP, platformName: XP, platformVersion: 10.0, proxy: Proxy(direct), rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}
Session ID: 6c9b8240-7b19-4fe5-bab0-f178c01b60c0)
07-30-2018 11:23:36 AM - [END] - End Test Case : Test Cases/Login/Login

How to set Firefox and Chrome proxy in Katalon, it could be proxy error?

Peter Wong said:

How to set Firefox and Chrome proxy in Katalon, it could be proxy error?

uhm… Are you used private inner(internel) internet network?
normal internet fine works that’s site
unnormally situation…
can i receive your project folder?

Maybe… if you used internel internet… It is possible that enough error

I"m using proxy to connect Internet. How to set proxy in Katalon Studio?

Peter Wong said:

I"m using proxy to connect Internet. How to set proxy in Katalon Studio?

Windows -> Katalon Studio Preferences -> Katalon -> Proxy

you can set Proxy

Problem solved. Thanks you very much.