# I am unable to run the testsuit from Command line option. How can I resolve the issue and excute it through command line successfully?

**URL:** <https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979>\
**Category:** Miscellaneous\
**Tags:** katalon-studio\
**Created:** [August 23, 2017, 1:16pm UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979 "2017-08-23T13:16:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srabanti\_Datta\_Prama](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Srabanti\_Datta\_Prama](https://forum.katalon.com/u/Srabanti_Datta_Prama)\
**Post date:** [August 23, 2017, 1:16pm UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979/1 "2017-08-23T13:16:06Z")

</div>

I have Java installed in my system and I have followed [Katalon Studio 12 - How to run from Command Line - YouTube](https://www.youtube.com/watch?v=z2phdXH5U9g) link to execute the test suite from command line. But once I am pasting the generated command line code from Katalon studio , in the cmd and pressing enter it is showing message as ‘Katalon is not recognized as an internal or external command, operable program or batch file’. Can you please help me in resolving this issue so that I can execute through command line successfully?

---

<div class="post-metadata">

**Author:** ![Hanh\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/hanh_tran/32/651_2.png) [@Hanh\_Tran](https://forum.katalon.com/u/Hanh_Tran)\
**Post date:** [August 23, 2017, 11:25pm UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979/2 "2017-08-23T23:25:29Z")

</div>

Can you pass me your Katalon commands which you’ve used?

---

<div class="post-metadata">

**Author:** ![Sivarajan](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@Sivarajan](https://forum.katalon.com/u/Sivarajan)\
**Post date:** [March 2, 2018, 5:04am UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979/3 "2018-03-02T05:04:36Z")

</div>

> Hanh Tran said:
> 
> Can you pass me your Katalon commands which you’ve used?

I’m also facing this issue. Its saying ‘katalon’ is not recognized as an internal or external command when i execute from command line.

```auto
katalon -runMode=console -projectPath="C:\Katalon Project\DemoProject\DemoProject.prj" -reportFolder="Reports" -reportFileName="report" -retry=0 -testSuitePath="Test Suites/PRODUCT" -browserType="Chrome"

```

---

<div class="post-metadata">

**Author:** ![Elisenda](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@Elisenda](https://forum.katalon.com/u/Elisenda)\
**Post date:** [May 23, 2018, 11:36am UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979/4 "2018-05-23T11:36:12Z")

</div>

Hello, the same happens to me when I run a command of similar structure as the above posted. Does anyone know what can be done to solve this? Thanks very much in advance.

---

<div class="post-metadata">

**Author:** ![Elisenda](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@Elisenda](https://forum.katalon.com/u/Elisenda)\
**Post date:** [May 23, 2018, 11:53am UTC](https://forum.katalon.com/t/i-am-unable-to-run-the-testsuit-from-command-line-option-how-can-i-resolve-the-issue-and-excute-it-through-command-line-successfully/5979/5 "2018-05-23T11:53:20Z")

</div>

Hello again, I managed to run a test from command line, but only if I am placed in the folder where the katalon.exe file is. (Katalon Studio\Katalon\_Studio\_Windows\_64-5.4.2)  
Is there a way not to be forced to be placed in that specific folder to run a test from command line?
