Katalon Studio v5.8 - It's time for the all-new API testing experience
Saikat Saha
Katalon Apprentice
05/16/2018

Unable to execute katalon in command prompt

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

Upvote
Quote

Comments

  • Anthony
    Katalon Ambassador
    05/16/2018
    edited May 16
    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
    Upvote
    Quote
Sign In or Register to comment.