# Dynamically set projectsettings

**URL:** <https://forum.katalon.com/t/dynamically-set-projectsettings/6614>\
**Category:** Integrations\
**Tags:** integrations, katalon-studio\
**Created:** [September 26, 2017, 3:37pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614 "2017-09-26T15:37:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Small](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@Bob\_Small](https://forum.katalon.com/u/Bob_Small)\
**Post date:** [September 26, 2017, 3:37pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/1 "2017-09-26T15:37:59Z")

</div>

Is there a way to change project settings in runtime?

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [September 27, 2017, 9:45am UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/2 "2017-09-27T09:45:12Z")

</div>

No you can’t change project settings in runtime directly. Why do you need this purpose?

---

<div class="post-metadata">

**Author:** ![Bob\_Small](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@Bob\_Small](https://forum.katalon.com/u/Bob_Small)\
**Post date:** [September 27, 2017, 3:26pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/3 "2017-09-27T15:26:30Z")

</div>

In order to change the remote Desired Capabilities per run. I need to integrate with [CrossBrowserTesting.com](http://CrossBrowserTesting.com) and use a set of 12 different system configs for the same script execution. Does this already exist somewhere?

---

<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:** [September 27, 2017, 4:02pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/4 "2017-09-27T16:02:17Z")

</div>

Ah you can use define multiple profiles of desired capabilities through here: [http://docs.katalon.com/display/KD/Execution+Settings#ExecutionSettings-DesiredCapabilities](http://docs.katalon.com/display/KD/Execution+Settings#ExecutionSettings-DesiredCapabilities)

And then select the custom execution you want to execute, is that a good approach?

---

<div class="post-metadata">

**Author:** ![Bob\_Small](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@Bob\_Small](https://forum.katalon.com/u/Bob_Small)\
**Post date:** [November 8, 2017, 4:06pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/5 "2017-11-08T16:06:04Z")

</div>

No because I want to set multiple desired capabilities and have the script run through each using a cloud service.

---

<div class="post-metadata">

**Author:** ![Trong\_Bui](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/trong_bui/32/374_2.png) [@Trong\_Bui](https://forum.katalon.com/u/Trong_Bui)\
**Post date:** [March 15, 2018, 6:37am UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/6 "2018-03-15T06:37:27Z")

</div>

The topic is closed due to inactiveness. Feel free to create a new one if you have any concerns.

---

<div class="post-metadata">

**Author:** ![thiru.m](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thiru.m](https://forum.katalon.com/u/thiru.m)\
**Post date:** [January 29, 2019, 9:17am UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/7 "2019-01-29T09:17:36Z")

</div>

Hi Trong ,

1. Need help on how to run Katalon Studio developed scripts on Cloud .  
2.From UI I am able to add Remote URL (for browserstack and trigger manually) , I am looking for automated way to include Browserstack URL in script and how to trigger from CLI .

Thanks,

---

<div class="post-metadata">

**Author:** ![Daniel1](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@Daniel1](https://forum.katalon.com/u/Daniel1)\
**Post date:** [April 16, 2019, 3:57pm UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/8 "2019-04-16T15:57:51Z")

</div>

Hi, you can try this:

First import this library:  
import com.kms.katalon.core.configuration.RunConfiguration

Second, in the listener, you can ask what browser you are going to use:

if (navegador.equals(“HEADLESS\_DRIVER”)){

// Here, you introduce the arguments or param necessary  
RunConfiguration.setWebDriverPreferencesProperty(“args”, “[”–window-size=1920,1080"]")

}

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:49am UTC](https://forum.katalon.com/t/dynamically-set-projectsettings/6614/9 "2022-08-08T07:49:28Z")

</div>


