I have the following in my test suite script:
@SetupTestCase(skipped = false) **
def setupTestCase() {
** System.setProperty(webdriver.chrome.driver, C:\drivers\chromedriver.exe)
** WebDriver driver = new ChromeDriver();**
** DriverFactory.changeWebDriver(driver)**
** KeywordUtil.logInfo(Chrome Driver Path : + driver)**
}
It sets up the chrome driver correctly in the loginfo but when i try to utilize the driver in a test case the driver has changed when i log the info again it shows the path as the default katalon driver under resources
Chrome Driver Path : C:\Program Files\Katalon Studio\configuration\resources\drivers\chromedriver_win32\chromedriver.exe