# Katalon 6.0.4, variables in Default profile not available in other profiles

**URL:** <https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [February 22, 2019, 5:48pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907 "2019-02-22T17:48:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brijesh\_Patel](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Brijesh\_Patel](https://forum.katalon.com/u/Brijesh_Patel)\
**Post date:** [February 22, 2019, 5:48pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/1 "2019-02-22T17:48:45Z")

</div>

Just upgraded to version 6.0.4. and the test cases started failing. We use profiles to run the test cases against multiple environments.  
We keep common variables in the Default profile and only Environment specific variables in their respective profiles.

In previous version of Katalon, the scripts were able to get the variables defined in the Default variable, when running with different profiles.  
But in 6.0.4, it returns null. This is causing our Test suites to fail.

Is this an intended behavior from 6.0+ onwards or a bug?

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [February 22, 2019, 6:03pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/2 "2019-02-22T18:03:15Z")

</div>

There is a bug in 6.0.4 that blocks you from editing variables in Script mode.

> [@Script view for Profile variables is empty in 6.0.4](http://forum.katalon.com/t/script-view-for-profile-variables-is-empty-in-6-0-4/19898):
>
> When clicking on the Script view tab for a profile variable, it shows an empty text editor. It does not show the xml document containing the variables. [image]

---

<div class="post-metadata">

**Author:** ![Brijesh\_Patel](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Brijesh\_Patel](https://forum.katalon.com/u/Brijesh_Patel)\
**Post date:** [February 22, 2019, 6:05pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/3 "2019-02-22T18:05:18Z")

</div>

Thanks, but this is not related to editing of variables in Script mode.

Its using the variables in the script, from Default profile, while running the test cases with other profiles.

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [February 22, 2019, 6:21pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/4 "2019-02-22T18:21:41Z")

</div>

I just meant that there is a bug which may be triggering the issue you are facing.

---

<div class="post-metadata">

**Author:** ![manpreet.mukkar](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/manpreet.mukkar/32/16103_2.png) [@manpreet.mukkar](https://forum.katalon.com/u/manpreet.mukkar)\
**Post date:** [February 22, 2019, 6:26pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/5 "2019-02-22T18:26:51Z")

</div>

I found another discussion

> [@Katalon Studio Version 6.0.4?](http://forum.katalon.com/t/katalon-studio-version-6-0-4/19891/4):
>
> I believe @Russ_Thomas is referring to the fact that in version 6.0.4, the global variables behave differently that previous version. I also consider it to be a bug/downgrade. In previous version you could have defined a global variable in the Default profile and, if not defined in a specific profile, that variable would still be available to be used and would have the default profile value. In 6.0.4 the test cases running in a specific profile fail because they do not find the missing global …

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [February 22, 2020, 12:01pm UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/6 "2020-02-22T12:01:37Z")

</div>

Automatically bumped on February 22, 2020, 12:01pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [February 21, 2021, 10:27am UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/7 "2021-02-21T10:27:03Z")

</div>

Automatically bumped on February 21, 2021, 10:27am UTC



---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [February 20, 2022, 8:17am UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/8 "2022-02-20T08:17:40Z")

</div>

Automatically bumped on February 20, 2022, 8:17am UTC



---

<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 20, 2022, 8:45am UTC](https://forum.katalon.com/t/katalon-6-0-4-variables-in-default-profile-not-available-in-other-profiles/19907/9 "2022-02-20T08:45:33Z")

</div>

Closed on February 20, 2022, 8:45am UTC


