Jenkins-integration

Facing problem while executing jobs from Jenkins -

  1. Windows Server 2012 R2
  2. Able to execute script/suit from cmd
  3. But in Jenkins jobs with same CMD is not working
  4. Job started but getting following error -
06-27-2018 12:27:21 AM - [FAILED] - Unable to open browser with url: 'http://localhost:8080' (Root cause: org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages  (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)Command duration or timeout: 60.13 secondsBuild info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'System info: host: 'EOTNGAQM1', ip: '10.202.90.74', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_102'Driver info: driver.version: CChromeDriver)06-27-2018 12:27:21 AM - [FAILED] - Test Cases/01-Setup Scripts/SS-001 FAILED because (of) Unable to open browser with url: 'http://localhost:8080' (Root cause: org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages  (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)Command duration or timeout: 60.13 secondsBuild info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'System info: host: 'EOTNGAQM1', ip: '10.202.90.74', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_102'Driver info: driver.version: CChromeDriver)06-27-2018 12:27:21 AM - [FAILED] - Unable to call Test Case with id 'Test Cases/01-Setup Scripts/SS-001' (Root cause: Call Test Case 'Test Cases/01-Setup Scripts/SS-001' failed)06-27-2018 12:27:21 AM - [FAILED] - Test Cases/02-Generic Scripts/LogInToSFDC FAILED because (of) Unable to open browser with url: 'http://localhost:8080' (Root cause: org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages  (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any stacktrace information)Command duration or timeout: 60.13 secondsBuild info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'System info: host: 'EOTNGAQM1', ip: '10.202.90.74', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_102'Driver info: driver.version: CChromeDriver)06-27-2018 12:27:21 AM - [END]    - End action : openBrowser06-27-2018 12:27:21 AM - [END]    - End Test Case : Test Cases/01-Setup Scripts/SS-00106-27-2018 12:27:21 AM - [END]    - End action : callTestCaseVideo recording for test case 'Test Cases/02-Generic Scripts/LogInToSFDC' . 06-27-2018 12:27:23 AM - [END]    - End Test Case : Test Cases/02-Generic Scripts/LogInToSFDC06-27-2018 12:27:23 AM - [END]    - End Test Suite : Test Suites/suite1

Could please guide what are the things to be modify or what are things to be crosscheck?

Thanks.

Start your jenkins server with admin ,privilleges. In my case the script itself is not starting, I used to get an error “Object link not specified” and now the error is “this app cant be run on this pc”

With --no-sandbox settings now Katalon script is running from Jenkins but still browser is not showing on UI. It is running in headless mode.

ok but does it take screenshots and video recording

Manu Mahendran said:

ok but does it take screenshots and video recording

I didn’t verified with video recording but it taking screenshot.

Finally problem has been resolved. It is problem with Jenkins windows installer. I tried with Jenkins WAR file and it works.

thanks. I will try that…

am getting error “link location no specified”

Untitled.png