Jenkins - Chromedriver update chromdriver: --config -webui.autoUpdateDrivers=true


#1

Jenkins - Chromedriver problem, doesnt execute my test collection due it says update chromdriver: --config -webui.autoUpdateDrivers=true


my google version is: Version 75.0.3770.142 (Official Build) (64-bit)
my chromedriver is:

Tried today in 2 different pcs and same problem, two days ago this problem didn’t happen.
Any idea what can be ?


#2

Its fixed now :slight_smile:


#3

Hi,

I am also in the same boat…could you please share the details of the fix?


#4

Hi, @usekatalon

I just replaced the chromedriver file inside folder Katalon_Studio_Windows_64-6.3.2\configuration\resources\drivers\chromedriver_win32

After replacing the file restarted the jenking execution and voila!! it worked.


#5

Thanks pgonzalez for the immediate response.

checked and updated the driver version with latest.entering into the script steps but still not opening the browser.

2019-09-11 16:14:20.426 INFO c.k.katalon.core.main.TestSuiteExecutor - START Test Suites/Homepage

2019-09-11 16:14:20.463 INFO c.k.katalon.core.main.TestSuiteExecutor - hostName = 353799D$ - 353799D.gcb.local
2019-09-11 16:14:20.464 INFO c.k.katalon.core.main.TestSuiteExecutor - os = Windows 10 64bit
2019-09-11 16:14:20.465 INFO c.k.katalon.core.main.TestSuiteExecutor - hostAddress = 172.16.130.96
2019-09-11 16:14:20.466 INFO c.k.katalon.core.main.TestSuiteExecutor - katalonVersion = 6.2.2.4
2019-09-11 16:14:20.643 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-09-11 16:14:20.643 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/sample
2019-09-11 16:14:20.980 DEBUG testcase.sample - 1: openBrowser("")
2019-09-11 16:14:21.170 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
2019-09-11 16:14:21.208 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 seconds
2019-09-11 16:14:24.039 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = bd28436d3020f7568ea6ec58db110c6e
2019-09-11 16:14:24.056 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 77.0.3865.75
2019-09-11 16:14:24.056 INFO c.k.k.core.webui.driver.DriverFactory - platform = Windows 10
2019-09-11 16:14:24.057 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-09-11 16:14:24.057 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-09-11 16:14:24.058 DEBUG testcase.sample - 2: navigateToUrl(“xxxxxxx”)
2019-09-11 16:14:24.923 DEBUG testcase.sample - 3: click(findTestObject(“Object Repository/xxxx”))

Test Suites/Homepage - Chrome - 20190911_161418…0/1(0%)


#6

Have you tried with 6.3.3 katalon version ?


#7

yes tried with 6.3.3 and still seeing the same problem


#9

i think the test cases are executed in the console instead of physically executing in the browser but jenkins is unable to locate the elements on the page to perform the action. here are the jenkin console logs:

2019-09-12 12:14:14.765 DEBUG testcase.TC01_Open homePage - 2: navigateToUrl(“XXXX”)
2019-09-12 12:14:15.306 INFO c.k.katalon.core.main.TestCaseExecutor - END CALL Test Cases/Open Home Page/TC01
2019-09-12 12:14:15.306 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-09-12 12:14:15.312 DEBUG testcase.TC02_Verifying UI - 2: verifyElementPresent(findTestObject(“Home Page/Log Out”), 0)

Test Suites/TS_Open home- Chrome - 20190912_121409…0/2(0%)


Test Suites/TS_Open home - Chrome - 20190912_121409…0/2(0%)

2019-09-12 12:14:46.413 INFO c.k.k.c.webui.common.WebUiCommonHelper - Unable to find the element located by ‘By.xpath: //div[@id=‘xxxx’]/header/div[3]/ul/li[4]/a/span’. Please recheck the objects properties to make sure the desired element is located.

anybody has any suggestions?