In the old Katalon builds this used to work very well. However, newest Katalon versions (builds) do not allow us to run test suites via .bat files or through Team City.
No matter what we do, the following error shows up:
I’m not giving below the correct URL but just trust me that on Katalon v.5.0 and (before that) this worked just fine. Now something happened.
Full Name: All test cases/Test Cases/Xpress/Login/Valid login inputs
Start / End / Elapsed: 2018-04-09 17:57:58.234 / 2018-04-09 17:58:01.877 / 00:00:03.643
Status: FAILED
Message: Test Cases/Xpress/Login/Valid login inputs FAILED because (of) Unable to open browser with url: ‘https://ourUrl.com/’ (Root cause: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker)
NO MATTER what URL one uses, this always ends up with an error.
-
Create a bat file by using the ‘Generate command for console mode’ feature in Katalon
An example:
katalon -noSplash -runMode=console -projectPath=“C:\Users\git\MyBranch\xpress-katalon\Our projects.prj” -retry=0 -testSuitePath=“Test Suites/Xpress suites/All test cases” -browserType=“Chrome” -
Try to run the .bat file and execute the test suite
-
Run the same test suite via Katalon interface to make sure that the suite might be actually executed