I am getting above error in command line if I am trying to execute my test-suite either by command prompt using “Generate Command” option or by using console.properties file.
C:\Users\milokhande.katalon\packages\Katalon_Studio_Windows_64-9.4.0>katalon -propertiesFile=“C:\Users\milokhande\Katalon Studio\API Demo Project\console.properties” runMode=console
‘katalon’ is not recognized as an internal or external command,
operable program or batch file.
Hi,
Welcome to our community. Thank you for sharing your issue.
Can you please share more information: which version you use, OS version, … I found similar discussion here: Katalonc' is not recognized as an internal or external command, - #5 by huynguyen. As well as some suggestions to reinstall Katalon
Execute Test Suite using Command line
Fist of all : Install JDK17 for Katalon 9+
**1. Go to Katalon Studio Test Suite**
**Click on Build command near left to Next Button**
2. Observe : Katalon Runtime Engine is required for Console Mode Execution
3. Lets Install KRE
Followed these two docs to Install KRE in Katalon Studio
https://mvnrepository.com/artifact/jakarta.activation/jakarta.activation-api/2.1.3.
Click jar download
Add it External Jar to Katalon Studio in the preference section
- Restart Studio, Generate Command from Console Mode
**5. Copy the Command , Save it **
**6. Now go to your teminal **
7. cd “Katalon Studio Engine.app/Contents/MacOS”
Paste the saved command in the terminal
Test will be executed succesfully
YAY 