Facing issue with Katalon and Saucelab - remote integration

I added the following details in Project>> Settings >> Execution >> WebUi >> Remote

Remote web server URL: https:USERNAME:ACCESSKEY@ondemand.saucelabs.com:443/wd/hub/

Remote web server type : Selenium
Add section:

os - String - windows
os_version - string 10.0
browser - string - IE
browser_version - string 8.0

I got the following error:

Test Cases/NormalEvent_BuyTicket_Parameterized FAILED because (of) Unable to open browser with URL: ‘’ (Root cause: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

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

System info: host: ‘*******', ip: '..*.’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: driver.version: CRemoteWebDriver)

Let me know If I am doing anything wrong

I am running into the same issue… Pulling my hair out trying to figure it out.

ok
I found the solution
use following format only
https:USERNAME:ACCESSKEY@ondemand.saucelabs.com:443/wd/hub/
but
for username and access key, create the user first in your saucelab account.
Which can be found under “manage user” from saucelab setting - .
You can’t use parent username and access key of saucelab account directly for katalon remote execution.

1 Like

I am facing the same with browser stack :

Unable to open browser with url: ‘http://blazedemo.com/’ (Root cause: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘LAP03227’, ip: ‘10.0.1.147’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_181’
Driver info: driver.version: CRemoteWebDriver)

Please help if anyone already found solution.

Hi,

I am also facing problem.
Below is my katalon studio script:

WebDriver driver;

DesiredCapabilities caps = DesiredCapabilities.chrome();

caps.setCapability(“platform”, “Windows 10”);

caps.setCapability(“version”, “70.0”);

driver.get(“http://www.gmail.com”);

//WebUI.navigateToUrl(“http://google.com”)

Remote configuration:
http://username:accesskey@ondemand.saucelabs.com:443/wd/hub

Error message:

10-25-2018 09:35:30 PM - [START] - Start Test Case : Test Cases/SauceLabs

10-25-2018 09:35:30 PM - [INFO] - Evaluating variables for test case

10-25-2018 09:35:31 PM - [START] - Start action : Statement - driver =

10-25-2018 09:35:31 PM - [END] - End action : Statement - driver =

10-25-2018 09:35:31 PM - [START] - Start action : Statement - caps = org.openqa.selenium.remote.DesiredCapabilities.chrome()

10-25-2018 09:35:31 PM - [END] - End action : Statement - caps = org.openqa.selenium.remote.DesiredCapabilities.chrome()

10-25-2018 09:35:31 PM - [START] - Start action : Statement - caps.setCapability(“platform”, “Windows 10”)

10-25-2018 09:35:31 PM - [END] - End action : Statement - caps.setCapability(“platform”, “Windows 10”)

10-25-2018 09:35:31 PM - [START] - Start action : Statement - caps.setCapability(“version”, “70.0”)

10-25-2018 09:35:31 PM - [END] - End action : Statement - caps.setCapability(“version”, “70.0”)

10-25-2018 09:35:31 PM - [START] - Start action : Statement - driver.get(“http://www.gmail.com”)

10-25-2018 09:35:31 PM - [END] - End action : Statement - driver.get(“http://www.gmail.com”)

10-25-2018 09:35:31 PM - [ERROR] - Test Cases/SauceLabs FAILED because (of) java.lang.NullPointerException: Cannot invoke method get() on null object

10-25-2018 09:35:31 PM - [END] - End Test Case : Test Cases/SauceLabs

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

Query: Can anybody share sample script(i.e. open gmail, enter user, password and click on login button) and remote setting configuration details.

Appreciate your help on this.

Regards,
Siva.B