# Unable to execute katalon script via CLI mode with Katalon Engine 7.1.2

**URL:** <https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665>\
**Category:** Test Management\
**Tags:** runtime-engine, katalon-studio\
**Created:** [December 17, 2019, 4:02pm UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665 "2019-12-17T16:02:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Vivek](https://forum.katalon.com/u/Vivek)\
**Post date:** [December 17, 2019, 4:02pm UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/1 "2019-12-17T16:02:58Z")

</div>

Hi,  
I was earlier working with Katalon command line, old versions like 5.0 but with the new update of the Katalon 7.1, i am unable to run my test script using the updated katalon Engine 7.1.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/2/2889f038be0bdc66354380d3fa51d251430e4a33.png)

I have used the api key also,but not succeed.

Please let me know if i am doing anything wrong  
Also, if using CLI mode with Katalon is now available with paid version of Katalon?

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 17, 2019, 4:22pm UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/2 "2019-12-17T16:22:31Z")

</div>

It seems you’re trying to run offline. You will need to generate an offline license to operate KRE in that mode:

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/c/ce5ed4a9cc6d9442528b20148001908256353a31.png)

If you continue to have issues, please post your command line.

---

<div class="post-metadata">

**Author:** ![Vivek](https://avatars.discourse-cdn.com/v4/letter/v/77aa72/32.png) [@Vivek](https://forum.katalon.com/u/Vivek)\
**Post date:** [December 17, 2019, 4:26pm UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/3 "2019-12-17T16:26:23Z")

</div>

> [@Russ\_Thomas](#):
>
> generate an offline license to operate KRE

do i need to purchase a license for this? or this is available free?

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [December 17, 2019, 4:28pm UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/4 "2019-12-17T16:28:58Z")

</div>

> **[Katalon Pricing | Flexible Plans for Teams & Projects of any size](https://www.katalon.com/pricing/)**
>
> Don't break the bank with Katalon! Check out the pricing and see how our flexible plans fit for teams and projects of any size.

---

<div class="post-metadata">

**Author:** ![anhtuan](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/anhtuan/32/9841_2.png) [@anhtuan](https://forum.katalon.com/u/anhtuan)\
**Post date:** [December 18, 2019, 7:50am UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/5 "2019-12-18T07:50:40Z")

</div>

Hi @Vivek

You should download the Katalon Studio’s latest version (v7.2.0) and try again.

And make sure you have a license for Katalon Runtime Engine.

Thanks

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [December 18, 2019, 9:02am UTC](https://forum.katalon.com/t/unable-to-execute-katalon-script-via-cli-mode-with-katalon-engine-7-1-2/37665/6 "2019-12-18T09:02:03Z")

</div>

Hi @Vivek

If you are looking for offline activation, then the feature is available only for paid license.

To activate online, first go to **C:\Users\10303050.katalon\license** and delete the license file. You can see this path in the picture that you posted.

Then please make sure that you are using a business email for Katalon account to be eligible for trial of Runtime Engine.

In TestOps, visit your personal page. On the left panel you should see **Licenses** section. If you are eligible for trial, you should be able to see the expiration date.

 ![18%20PM](https://europe1.discourse-cdn.com/katalon/original/2X/4/4db6d2e1384a7332d64d70d5067bade1c8d74a48.png)

Finally, you need to include an API key in your command line. In the above image, you should also be able to see the **API Key** button on the left panel. Navigate there to see the API key, create one if none exists.

Refer to this documentation:  
[https://docs.katalon.com/katalon-studio/docs/activate-RE.html#with-paid-license](https://docs.katalon.com/katalon-studio/docs/activate-RE.html#with-paid-license)

Regards !
