We are carrying out selenium tests in windows Machine from Jenkins. I have added the ChromeDriver 2.36 under C:\Selenium\path. My Selenium_Server_standalone_2.53.0.jar is placed under C:\Selenium. Chrome Browser Version is 65. While executing the test am seeing issue with Chromedriver path not being set properly.
**Path being added in config file :** ChromeDriver=C:/Selenium/path/SeleniumChromeDriver.exe
**Path being set in source code**:
String strChromeDriverPath = strConfigValues[18];
File fileChromeDriver = new File(strChromeDriverPath);
System.out.println("Chrome Driver Path: "+ fileChromeDriver.getAbsolutePath());
System.setProperty("webdriver.chrome.driver",fileChromeDriver.getAbsolutePath());
**Logs:**
01:49:43 [testng] Chrome Driver Path: C:\Selenium\path\SeleniumChromeDriver.exe
01:49:43 [testng] Starting ChromeDriver 2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91) on port 5553
01:49:43 [testng] Only local connections are allowed.
01:49:45 [testng] org.openqa.selenium.WebDriverException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
01:49:45 [testng] Command duration or timeout: 17 milliseconds