Unable to execute katalon in command prompt


#1

On executing the command :
katalon -noSplash -runMode=console -consoleLog -noExit -projectPath=“C:\Users\DELL\Documents\Automation\Automation.prj” -retry=0 -testSuitePath=“Test Suites/Draft Suite” -executionProfile=“default” -browserType=“Chrome”

in the windows command prompt its throwing error

katalon : The term ‘katalon’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the

spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ katalon -noSplash -runMode=console -consoleLog -noExit -projectPath= …

+ ~~~~~~~

\+ CategoryInfo          : ObjectNotFound: (katalon:String) \[\], CommandNotFoundException

\+ FullyQualifiedErrorId : CommandNotFoundException

#2

Are you running the command from the same location as the katalon executable?

If you are not, you will need to add the location of katalon.exe to your system PATH.

Here is how you add java to your system path,add katalon.exe in the same manner instead of java