Test Suite Passes in Katalon Studio But Has Multiple Errors When Run Using Jenkins

Hi,

Why does my Test Suite runs smoothly in Katalon Studio but does not when using Jenkins?

Test Suite executed in Katalon Studio:

Test Suite executed in Jenkins:


hello,
and what kind of errors in Jenkins?

Hello @Timo_Kuisma,

Please check again my post. I added additional details. Thank you.

hi,

some logs would be better to see
e.g logs where build will fail

Started by user admin1
[EnvInject] - Loading node environment variables.
Building in workspace C:\Tools\Jenkins\JenkinsHome\jobs\Katalon_RMS-Routes_TS\workspace
Using Katalon Studio at C:\Tools\Katalon_Studio_Windows_64-6.1.2
Execute [cmd, /c, C:\Tools\Katalon_Studio_Windows_64-6.1.2\katalon -noSplash -runMode=console -projectPath=“C:\Users\Anna\git\pimmdesktoptestscripts\PIMM Desktop CCM.prj” -retry=1 -retryFailedTestCases=true -testSuitePath=“Test Suites/RMS/Routes_TS” -executionProfile=“default” -browserType=“Chrome”
–config -webui.autoUpdateDrivers=true ] in C:\Users\ANNA~1\AppData\Local\Temp\katalon-7439267165792067249
Katalon workspace folder is set to default location: C:\Tools\Katalon_Studio_Windows_64-6.1.2\config
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
170 2.4.7.xx-201611170128-e46 = ACTIVE

INFO: Katalon Version: 6.2.0
INFO: Command-line arguments: -runMode=console -projectPath=C:\Users\Anna\git\pimmdesktoptestscripts\PIMM Desktop CCM.prj -retry=1 -retryFailedTestCases=true -testSuitePath=Test Suites/RMS/Routes_TS -executionProfile=default -browserType=Chrome
INFO: User working dir: C:\Users\ANNA~1\AppData\Local\Temp\katalon-7439267165792067249
INFO: User home: C:\Users\Anna
INFO: Java vendor: Oracle Corporation
INFO: Java version: 1.8.0_181
INFO: Local OS: Windows 10 64bit
INFO: CPU load: 23%
INFO: Total memory: 16266 MB
INFO: Free memory: 7272 MB

Delete folder: bin
Delete folder: Libs
Opening project file: C:\Users\Anna\git\pimmdesktoptestscripts\PIMM Desktop CCM.prj
Parsing custom keywords in Plugins folder…
23:03:15.928 [Worker-0] DEBUG org.eclipse.jgit.util.FS - readpipe [git, --version],C:\Program Files\Git\cmd
23:03:15.969 [Worker-0] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘git version 2.21.0.windows.1’
23:03:15.969 [Worker-0] DEBUG org.eclipse.jgit.util.FS - remaining output:

23:03:15.974 [Worker-0] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],C:\Program Files\Git\cmd
23:03:16.066 [Worker-0] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘C:/Program Files/Git/mingw64/etc/gitconfig’
23:03:16.066 [Worker-0] DEBUG org.eclipse.jgit.util.FS - remaining output:

/C%%Users%Anna%git%pimmdesktoptestscripts%PIMM Desktop CCM.prj/Keywords/myCustomKeywords/DatePicker.groovy: 21 Groovy:unable to resolve class internal.GlobalVariable
Generating global variables…
Parsing custom keywords…
Project ‘PIMM Desktop CCM’ opened
chromedriver is located at default location: C:\Tools\Katalon_Studio_Windows_64-6.1.2\configuration\resources\drivers\chromedriver_win32\chromedriver.exe. In case your browser is updated to a newer version, please use this command to update chromdriver: --config -webui.autoUpdateDrivers=true


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…0/15(0%)

2019-06-17 23:03:26.642 INFO c.k.katalon.core.main.TestSuiteExecutor - START Test Suites/RMS/Routes_TS
2019-06-17 23:03:26.676 INFO c.k.katalon.core.main.TestSuiteExecutor - hostName = Anna- anna
2019-06-17 23:03:26.677 INFO c.k.katalon.core.main.TestSuiteExecutor - os = Windows 10 64bit
2019-06-17 23:03:26.678 INFO c.k.katalon.core.main.TestSuiteExecutor - hostAddress = 192.168.56.155
2019-06-17 23:03:26.678 INFO c.k.katalon.core.main.TestSuiteExecutor - katalonVersion = 6.2.0.1
2019-06-17 23:03:26.844 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-06-17 23:03:26.844 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/RMS/Routes/FleetMap_CTMSummary
2019-06-17 23:03:27.173 DEBUG testcase.FleetMap_CTMSummary - 1: openBrowser("")
2019-06-17 23:03:27.383 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-06-17 23:03:27.410 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 seconds
2019-06-17 23:03:30.683 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 334350c02a9e9f77e9b22c7a248baac7
2019-06-17 23:03:30.869 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.90
2019-06-17 23:03:30.870 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-06-17 23:03:30.870 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-06-17 23:03:30.871 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-06-17 23:03:30.873 DEBUG testcase.FleetMap_CTMSummary - 2: maximizeWindow()
2019-06-17 23:03:32.001 DEBUG testcase.FleetMap_CTMSummary - 3: navigateToUrl("")
2019-06-17 23:03:34.079 DEBUG testcase.FleetMap_CTMSummary - 4: setText(findTestObject(“Object Repository/input_Login_Username_ctl00bodyuserName”), “”)
2019-06-17 23:03:34.246 DEBUG testcase.FleetMap_CTMSummary - 5: setEncryptedText(findTestObject(“Object Repository/input_Login_Password_ctl00bodypassword”), “xo4fV93gGQY=”)
2019-06-17 23:03:34.367 DEBUG testcase.FleetMap_CTMSummary - 6: click(findTestObject(“Object Repository/button_Login”))
2019-06-17 23:03:38.675 DEBUG testcase.FleetMap_CTMSummary - 7: click(findTestObject(“Object Repository/button_Launchpad_Route Management”))


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…0/15(0%)

2019-06-17 23:03:43.644 DEBUG testcase.FleetMap_CTMSummary - 8: click(findTestObject(“Object Repository/a_RMS_Routes_CTM Summary”))
2019-06-17 23:03:44.772 DEBUG testcase.FleetMap_CTMSummary - 9: verifyElementText(findTestObject(“Object Repository/th_RMS_Routes_FleetMap_CTMSummary_Verify”), “CTM Compliance”)
2019-06-17 23:03:44.820 DEBUG testcase.FleetMap_CTMSummary - 10: click(findTestObject(“Object Repository/button_RMS_Routes_FleetMap_CTMSummary_Download PDF”))
2019-06-17 23:03:49.888 DEBUG testcase.FleetMap_CTMSummary - 11: closeBrowser()
2019-06-17 23:03:50.549 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/RMS/Routes/FleetMap_CTMSummary
2019-06-17 23:03:50.552 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-06-17 23:03:50.552 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/RMS/Routes/RouteLevel_Rebuild
2019-06-17 23:03:50.696 DEBUG testcase.RouteLevel_Rebuild - 1: openBrowser("")
2019-06-17 23:03:50.699 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-06-17 23:03:52.819 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 763cff27d405d7274424e68d8d71f164
2019-06-17 23:03:52.843 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.90
2019-06-17 23:03:52.843 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-06-17 23:03:52.844 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-06-17 23:03:52.844 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-06-17 23:03:52.845 DEBUG testcase.RouteLevel_Rebuild - 2: maximizeWindow()
2019-06-17 23:03:53.966 DEBUG testcase.RouteLevel_Rebuild - 3: navigateToUrl("")


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…1/15(7%)

2019-06-17 23:03:56.929 DEBUG testcase.RouteLevel_Rebuild - 4: setText(findTestObject(“Object Repository/input_Login_Username_ctl00bodyuserName”), “”)
2019-06-17 23:03:57.061 DEBUG testcase.RouteLevel_Rebuild - 5: setEncryptedText(findTestObject(“Object Repository/input_Login_Password_ctl00bodypassword”), “xo4fV93gGQY=”)
2019-06-17 23:03:57.136 DEBUG testcase.RouteLevel_Rebuild - 6: click(findTestObject(“Object Repository/button_Login”))
2019-06-17 23:04:02.731 DEBUG testcase.RouteLevel_Rebuild - 7: click(findTestObject(“Object Repository/button_Launchpad_Route Management”))
2019-06-17 23:04:07.486 DEBUG testcase.RouteLevel_Rebuild - 8: waitForElementVisible(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”), 20)
2019-06-17 23:04:09.071 DEBUG testcase.RouteLevel_Rebuild - 9: click(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”))
2019-06-17 23:04:09.150 DEBUG testcase.RouteLevel_Rebuild - 10: delay(5)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…1/15(7%)

2019-06-17 23:04:14.165 DEBUG testcase.RouteLevel_Rebuild - 11: while (verifyTextNotPresent(“May 2019”, false, OPTIONAL))
2019-06-17 23:04:14.340 DEBUG testcase.RouteLevel_Rebuild - 1: myCustomKeywords.DatePicker.clickPreviousMonthButton()
2019-06-17 23:04:14.401 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - myCustomKeywords.DatePicker.clickPreviousMonthButton is PASSED
2019-06-17 23:04:14.571 DEBUG testcase.RouteLevel_Rebuild - 12: delay(5)
2019-06-17 23:04:19.573 DEBUG testcase.RouteLevel_Rebuild - 13: myCustomKeywords.DatePicker.clickDay(“23”)
2019-06-17 23:04:19.724 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - myCustomKeywords.DatePicker.clickDay is PASSED
2019-06-17 23:04:19.724 DEBUG testcase.RouteLevel_Rebuild - 14: click(findTestObject(“Object Repository/div_RMS_Routes_RouteLevel_CTM_Route 42Driver James BrownTrailer 104”))
2019-06-17 23:04:21.518 DEBUG testcase.RouteLevel_Rebuild - 15: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Dropdown”))
2019-06-17 23:04:21.636 DEBUG testcase.RouteLevel_Rebuild - 16: click(findTestObject(“Object Repository/a_RMS_Routes_RouteLevel_Rebuild”))
2019-06-17 23:04:21.731 DEBUG testcase.RouteLevel_Rebuild - 17: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Rebuild_Cancel”))
2019-06-17 23:04:21.839 DEBUG testcase.RouteLevel_Rebuild - 18: delay(5, CONTINUE_ON_FAILURE)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…1/15(7%)

2019-06-17 23:04:26.842 DEBUG testcase.RouteLevel_Rebuild - 19: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Dropdown”))
2019-06-17 23:04:26.899 DEBUG testcase.RouteLevel_Rebuild - 20: click(findTestObject(“Object Repository/a_RMS_Routes_RouteLevel_Rebuild”))
2019-06-17 23:04:27.040 DEBUG testcase.RouteLevel_Rebuild - 21: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Rebuild_Confirm”))
2019-06-17 23:04:27.174 DEBUG testcase.RouteLevel_Rebuild - 22: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Rebuild_OK”))
2019-06-17 23:04:27.244 DEBUG testcase.RouteLevel_Rebuild - 23: closeBrowser()
2019-06-17 23:04:27.857 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/RMS/Routes/RouteLevel_Rebuild
2019-06-17 23:04:27.859 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-06-17 23:04:27.859 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/RMS/Routes/RouteLevel_Map_Chart
2019-06-17 23:04:27.994 DEBUG testcase.RouteLevel_Map_Chart - 1: openBrowser("")
2019-06-17 23:04:27.996 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-06-17 23:04:30.101 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 90956fcd18690948df92f76e642bae31
2019-06-17 23:04:30.125 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.90
2019-06-17 23:04:30.125 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-06-17 23:04:30.125 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-06-17 23:04:30.126 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-06-17 23:04:30.126 DEBUG testcase.RouteLevel_Map_Chart - 2: maximizeWindow()
2019-06-17 23:04:31.247 DEBUG testcase.RouteLevel_Map_Chart - 3: navigateToUrl("")
2019-06-17 23:04:33.102 DEBUG testcase.RouteLevel_Map_Chart - 4: setText(findTestObject(“Object Repository/input_Login_Username_ctl00bodyuserName”), “”)
2019-06-17 23:04:33.232 DEBUG testcase.RouteLevel_Map_Chart - 5: setEncryptedText(findTestObject(“Object Repository/input_Login_Password_ctl00bodypassword”), “xo4fV93gGQY=”)
2019-06-17 23:04:33.307 DEBUG testcase.RouteLevel_Map_Chart - 6: click(findTestObject(“Object Repository/button_Login”))
2019-06-17 23:04:38.602 DEBUG testcase.RouteLevel_Map_Chart - 7: click(findTestObject(“Object Repository/button_Launchpad_Route Management”))


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…2/15(13%)

2019-06-17 23:04:42.999 DEBUG testcase.RouteLevel_Map_Chart - 8: waitForElementVisible(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”), 20)
2019-06-17 23:04:44.056 DEBUG testcase.RouteLevel_Map_Chart - 9: click(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”))
2019-06-17 23:04:44.136 DEBUG testcase.RouteLevel_Map_Chart - 10: while (verifyTextNotPresent(“May 2019”, false, OPTIONAL))
2019-06-17 23:04:44.247 DEBUG testcase.RouteLevel_Map_Chart - 1: myCustomKeywords.DatePicker.clickPreviousMonthButton()
2019-06-17 23:04:44.335 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - myCustomKeywords.DatePicker.clickPreviousMonthButton is PASSED
2019-06-17 23:04:44.412 DEBUG testcase.RouteLevel_Map_Chart - 11: myCustomKeywords.DatePicker.clickDay(“23”)
2019-06-17 23:04:44.537 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - myCustomKeywords.DatePicker.clickDay is PASSED
2019-06-17 23:04:44.537 DEBUG testcase.RouteLevel_Map_Chart - 12: click(findTestObject(“Object Repository/div_RMS_Routes_RouteLevel_CTM_Route 42Driver James BrownTrailer 104”))
2019-06-17 23:04:46.885 DEBUG testcase.RouteLevel_Map_Chart - 13: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Charts_zoomIn”))
2019-06-17 23:04:46.986 DEBUG testcase.RouteLevel_Map_Chart - 14: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Charts_zoomOut”))
2019-06-17 23:04:47.063 DEBUG testcase.RouteLevel_Map_Chart - 15: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Charts_right”))
2019-06-17 23:04:47.147 DEBUG testcase.RouteLevel_Map_Chart - 16: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Charts_left”))
2019-06-17 23:04:47.214 DEBUG testcase.RouteLevel_Map_Chart - 17: delay(5)
2019-06-17 23:04:52.217 DEBUG testcase.RouteLevel_Map_Chart - 18: click(findTestObject(“Object Repository/input_RMS_Routes_RouteLevel_Map_Chart_All”))
2019-06-17 23:04:52.347 DEBUG testcase.RouteLevel_Map_Chart - 19: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Chart_DateRange”))
2019-06-17 23:04:52.538 DEBUG testcase.RouteLevel_Map_Chart - 20: delay(5, CONTINUE_ON_FAILURE)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…2/15(13%)

2019-06-17 23:04:57.539 DEBUG testcase.RouteLevel_Map_Chart - 21: click(findTestObject(“Object Repository/button_RMS_Routes_RouteLevel_Map_Chart_Update”))
2019-06-17 23:04:57.665 DEBUG testcase.RouteLevel_Map_Chart - 22: click(findTestObject(“Object Repository/i_RMS_Routes_RouteLevel_Map_Chart_HideChart”))
2019-06-17 23:04:57.921 DEBUG testcase.RouteLevel_Map_Chart - 23: click(findTestObject(“Object Repository/i_RMS_Routes_RouteLevel_Map_Chart_SplitView”))
2019-06-17 23:04:58.025 DEBUG testcase.RouteLevel_Map_Chart - 24: click(findTestObject(“Object Repository/i_RMS_Routes_RouteLevel_Map_Chart_Maximize”))
2019-06-17 23:04:58.563 DEBUG testcase.RouteLevel_Map_Chart - 25: closeBrowser()
2019-06-17 23:04:59.167 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/RMS/Routes/RouteLevel_Map_Chart
2019-06-17 23:04:59.168 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-06-17 23:04:59.168 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/RMS/Routes/SiteDropdown
2019-06-17 23:04:59.297 DEBUG testcase.SiteDropdown - 1: openBrowser("")
2019-06-17 23:04:59.299 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-06-17 23:05:01.557 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 2b06cca2b392b2590e438903b7a36ae5
2019-06-17 23:05:01.580 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.90
2019-06-17 23:05:01.581 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-06-17 23:05:01.581 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-06-17 23:05:01.581 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-06-17 23:05:01.582 DEBUG testcase.SiteDropdown - 2: maximizeWindow()
2019-06-17 23:05:02.702 DEBUG testcase.SiteDropdown - 3: navigateToUrl("")
2019-06-17 23:05:04.685 DEBUG testcase.SiteDropdown - 4: setText(findTestObject(“input_Login_Username_ctl00bodyuserName”), “”)
2019-06-17 23:05:04.803 DEBUG testcase.SiteDropdown - 5: setEncryptedText(findTestObject(“input_Login_Password_ctl00bodypassword”), “xo4fV93gGQY=”)
2019-06-17 23:05:04.878 DEBUG testcase.SiteDropdown - 6: click(findTestObject(“Object Repository/button_Login”))
2019-06-17 23:05:08.945 DEBUG testcase.SiteDropdown - 7: click(findTestObject(“button_Launchpad_Route Management”))


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…3/15(20%)

2019-06-17 23:05:13.290 DEBUG testcase.SiteDropdown - 8: waitForElementVisible(findTestObject(“button_RMS_Routes_ABC Dist_routes-site-dropdown”), 10)
2019-06-17 23:05:14.369 DEBUG testcase.SiteDropdown - 9: click(findTestObject(“Object Repository/button_RMS_Routes_ABC Dist_routes-site-dropdown”))
2019-06-17 23:05:14.425 DEBUG testcase.SiteDropdown - 10: click(findTestObject(“Object Repository/a_RMS_Routes_ABC Australia”))
2019-06-17 23:05:14.575 DEBUG testcase.SiteDropdown - 11: click(findTestObject(“Object Repository/button_RMS_Routes_ABC Australia_routes-site-dropdown”))
2019-06-17 23:05:14.645 DEBUG testcase.SiteDropdown - 12: click(findTestObject(“Object Repository/a_RMS_Routes_ABC Dist”))
2019-06-17 23:05:14.728 DEBUG testcase.SiteDropdown - 13: click(findTestObject(“Object Repository/button_RMS_Routes_ABC Dist_routes-site-dropdown”))
2019-06-17 23:05:14.804 DEBUG testcase.SiteDropdown - 14: click(findTestObject(“Object Repository/a_RMS_Routes_ABC Europe”))
2019-06-17 23:05:14.895 DEBUG testcase.SiteDropdown - 15: click(findTestObject(“Object Repository/button_RMS_Routes_ABC Europe_routes-site-dropdown”))
2019-06-17 23:05:14.988 DEBUG testcase.SiteDropdown - 16: click(findTestObject(“Object Repository/a_RMS_Routes_ABC North”))
2019-06-17 23:05:15.075 DEBUG testcase.SiteDropdown - 17: click(findTestObject(“Object Repository/button_RMS_Routes_ABC North_routes-site-dropdown”))
2019-06-17 23:05:15.152 DEBUG testcase.SiteDropdown - 18: click(findTestObject(“Object Repository/a_RMS_Routes_ABC South”))
2019-06-17 23:05:15.241 DEBUG testcase.SiteDropdown - 19: closeBrowser()
2019-06-17 23:05:16.020 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/RMS/Routes/SiteDropdown
2019-06-17 23:05:16.023 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-06-17 23:05:16.023 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/RMS/Routes/RouteLevel_CTM
2019-06-17 23:05:16.160 DEBUG testcase.RouteLevel_CTM - 1: openBrowser("")
2019-06-17 23:05:16.162 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-06-17 23:05:18.223 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = ab80efced275b44c5cbe0d643b580a07
2019-06-17 23:05:18.243 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.90
2019-06-17 23:05:18.243 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-06-17 23:05:18.243 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-06-17 23:05:18.244 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-06-17 23:05:18.244 DEBUG testcase.RouteLevel_CTM - 2: maximizeWindow()
2019-06-17 23:05:19.365 DEBUG testcase.RouteLevel_CTM - 3: navigateToUrl("")
2019-06-17 23:05:21.227 DEBUG testcase.RouteLevel_CTM - 4: setText(findTestObject(“Object Repository/input_Login_Username_ctl00bodyuserName”), “”)
2019-06-17 23:05:21.368 DEBUG testcase.RouteLevel_CTM - 5: setEncryptedText(findTestObject(“Object Repository/input_Login_Password_ctl00bodypassword”), “xo4fV93gGQY=”)
2019-06-17 23:05:21.443 DEBUG testcase.RouteLevel_CTM - 6: click(findTestObject(“Object Repository/button_Login”))


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…4/15(27%)

2019-06-17 23:05:27.310 DEBUG testcase.RouteLevel_CTM - 7: click(findTestObject(“Object Repository/button_Launchpad_Route Management”))
2019-06-17 23:05:31.849 DEBUG testcase.RouteLevel_CTM - 8: delay(5)
2019-06-17 23:05:36.851 DEBUG testcase.RouteLevel_CTM - 9: waitForElementVisible(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”), 10)
2019-06-17 23:05:36.879 DEBUG testcase.RouteLevel_CTM - 10: click(findTestObject(“Object Repository/button_RMS_Routes_DatePicker_Today_date-picker-dropdown-flex”))
2019-06-17 23:05:36.949 DEBUG testcase.RouteLevel_CTM - 11: delay(5)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…4/15(27%)

2019-06-17 23:05:41.951 DEBUG testcase.RouteLevel_CTM - 12: while (verifyTextNotPresent(“May 2019”, false, OPTIONAL))
2019-06-17 23:05:42.160 DEBUG testcase.RouteLevel_CTM - 1: myCustomKeywords.DatePicker.clickPreviousMonthButton()
2019-06-17 23:05:42.215 INFO k.k.c.m.CustomKeywordDelegatingMetaClass - myCustomKeywords.DatePicker.clickPreviousMonthButton is PASSED


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…4/15(27%)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…4/15(27%)


Test Suites/RMS/Routes_TS - Chrome - 20190617_230319…4/15(27%)

hello,

are you using some keyword plugin, but cannot see any apikey in your execution script

hi,

plugins from Katalon Store
if yes, then you have to add apiKey to your Jenkins cmd
https://docs.katalon.com/katalon-store/docs/user/API-key.html#api-keys-usage

Hi,

As checked, I think I’m not using any plugin from Katalon Store. I haven’t used the Plugin Store in Katalon.

image

is this project added to the Katalon Analytics,
there you are able to seen error log

Oh wait, let me just add it again. I disconnected it because I thought some of the errors were due to Katalon Analytics when its trying to send reports.

if you will start Jenkins as an process (not the service which it is native started) then you are able to see UI during execution
check this chain

1 Like

Hi,

I run Jenkins in CLI using this command:
java -jar jenkins.war --httpPort=8080

Here’s the log from Katalon Analytics:
logs.txt (98.3 KB)

navigateToUrl(“test URL”): Unable to navigate to ‘test URL’
2019-06-17 15:37:52 - [MESSAGE][FAILED] - Unable to set text ‘test URL’ of object ‘Object Repository/input_Login_Username_ctl00bodyuserName’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘TEST’ of object ‘Object Repository/input_Login_Username_ctl00bodyuserName’

is there browser open?

I just replaced the actual URL with a dummy one :sweat_smile:

nice work :joy:

Yup, the one that got stucked.

For additional details, while katalon test scripts got stucked, when I tried closing the CLI for the Jenkins to stop, the remaining test cases started executing. :thinking:

well done :sunglasses:

So, what do you think is the problem here? :tired_face:
I am also wondering why it keeps on running the failed test case while I set is as “retry=0”.
Also, when I try to run the the test case that fails as a single test case in a Test Suite (still in Jenkins), it doesn’t have any errors and finished successfully.

check first is there running jenkins service too
start —> search services Desktop app --> select Jenkins

1 Like