# Override profiles in Test Suite Collection in CLI mode

**URL:** <https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340>\
**Category:** Feature Request\
**Tags:** feature-request, tracked, katalon-studio\
**Created:** [April 17, 2018, 10:24pm UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340 "2018-04-17T22:24:45Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![zachary.rice](https://avatars.discourse-cdn.com/v4/letter/z/4da419/32.png) [@zachary.rice](https://forum.katalon.com/u/zachary.rice)\
**Post date:** [October 4, 2019, 2:35am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/21 "2019-10-04T02:35:13Z")

</div>

Hello,

I recently ran into the same issue when attempting to assign a specific profile to a Test Collection in version 6.3.3. This is the same error condition that was mentioned in 5.4. Has there been any updates on how we can set the execution policy for Test Collections?

---

<div class="post-metadata">

**Author:** ![musaffir.puthukudi](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@musaffir.puthukudi](https://forum.katalon.com/u/musaffir.puthukudi)\
**Post date:** [October 21, 2019, 9:33am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/22 "2019-10-21T09:33:07Z")

</div>

Hello,

Is this planned to get fixed in Kataon 7.0 ? , we would like to override executionProfile when running the test suite collection from CMD

Thanks,

---

<div class="post-metadata">

**Author:** ![pgonzalez](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@pgonzalez](https://forum.katalon.com/u/pgonzalez)\
**Post date:** [February 5, 2020, 5:37am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/23 "2020-02-05T05:37:45Z")

</div>

HI, any update about this override profiles in a TSCollection in Client mode? I have to execute same collection for 3 diff environments. Its not worth it editing manually . I wanna write my JBuild with the specific environment I want. Thanks.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [February 6, 2020, 1:50am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/24 "2020-02-06T01:50:50Z")

</div>

How to provide values to variables in Katalon Test Case scripts at runtime? — it is a recurring problem.

Katalon Team proposed and implemented a way to override GlobalVariables by specifying which Execution Profile to use for a Test Suites run. Howerver, as @pgonzalez and others pointed out, you can not override Exeution Profile for a TestSuiteCollection.

I would propose that another method is possible. If you are willing to develop fair amount of Groovy code yourself, you can give values from some `*.properties` file to test case variables. Just to let you think of alternatives, see the following old post of mine at 2018:

> [@Katalon.properties file and JVM System Property katalon.user.home](http://forum.katalon.com/t/katalon-properties-file-and-jvm-system-property-katalon-user-home/9943):
>
> Problems to solve Let me assume, I have a single Web Application in multiple environments: the development, the staging, the production-blue, the production-green and more. These environments have 99% same contents and features except the following differences: Hostname — e.g. [demoaut-mimic.kazurayam.com](http://demoaut-mimic.kazurayam.com/) for development, [demoaut.katalon.com](http://demoaut.katalon.com/) for production Username/Password — e.g. kazurayam/foobar for development, John Doe/ThisIsNotAPassword for production. Now I want to: I want to use [Kata…](https://www.katalon.com/)

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [July 16, 2020, 9:14am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/25 "2020-07-16T09:14:41Z")

</div>

Hello everyone

From Katalon Studio 7.6, you can override `Browser Type` and `Execution Profile` of all Test Suites in a Test Suite Collection via command line. [Learn more](https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html#command-builder)

Please refer to [release notes](https://docs.katalon.com/katalon-studio/new/version-70.html) for more details regarding our latest release.

Happy Testing

Jass

---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [August 31, 2020, 3:10am UTC](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340/26 "2020-08-31T03:10:06Z")

</div>

Closed on August 31, 2020, 3:10am UTC



[Previous page](https://forum.katalon.com/t/override-profiles-in-test-suite-collection-in-cli-mode/10340.md?page=1)
