KRE Cannot find appium executable file on Windows machine

Hi, we are are using Katalon Studio Engine on a Windows Jenkins slave and we are trying to run the our Mobile testsuite using this command:

C:\dev\installed\Katalon_Studio_Engine_Windows_64-7.7.2>katalonc.exe -noSplash -runMode=console -projectPath="c:\jenkins-slave\workspace\TEST_APPIUM" -retry=0 -testSuitePath="Test Suites/01-test-suite" -executionProfile="default" -deviceId="52107dabee5d744d" -browserType="Android" -reportFolder="Reports"
Katalon workspace folder is set to default location: C:\Users\appium\AppData\Local\Temp\session-17a16a90
Starting Groovy-Eclipse compiler resolver.  Specified compiler level: unspecified
131 2.4.7.xx-201611170128-e46 = ACTIVE

This is the console output:

2020-10-30 15:21:06.151 ERROR c.k.k.core.keyword.internal.KeywordMain - ? Unable to start app with application ID: ‘appID’ (Root cause: com.kms.katalon.core.appium.exception.AppiumStartException: Appium directory is invalid: Cannot find appium executable file.
at com.kms.katalon.core.appium.driver.AppiumDriverManager.findAppiumJS(AppiumDriverManager.java:387)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.startAppiumServer(AppiumDriverManager.java:302)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.startAppiumServerJS(AppiumDriverManager.java:262)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.startAppiumServerJS(AppiumDriverManager.java:407)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.ensureServicesStarted(AppiumDriverManager.java:244)
at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:473)
at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startMobileDriver(MobileDriverFactory.java:407)

In the Windows environment variables the appium folder is set:
APPIUM_HOME=C:\dev\installed\appium

Can anyone help please?

Solved the issue by using the solution from this topic:

1 Like