# Global Variable is not recognized

**URL:** <https://forum.katalon.com/t/global-variable-is-not-recognized/10721>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [May 7, 2018, 3:31am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721 "2018-05-07T03:31:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamad\_dhicy\_ramdha](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mohamad_dhicy_ramdha/32/23870_2.png) [@mohamad\_dhicy\_ramdha](https://forum.katalon.com/u/mohamad_dhicy_ramdha)\
**Post date:** [May 7, 2018, 3:31am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/1 "2018-05-07T03:31:55Z")

</div>

Hi,  
In katalon 5.4 have a execution profile. So, when i use global variable in execution profile, katalon show an error like this and not recognized global variable as local import.

Test Cases/Garage/open\_url FAILED because (of) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:  
file:/D:/Project/Tunaiku\_Web/Scripts/Garage/open\_url/Script1524797846419.groovy: 20: unable to resolve class internal.GlobalVariable  
@ line 20, column 1.  
import internal.GlobalVariable as GlobalVariable  
^

1 error

i think this is bugs.it likes i found when i integrate with jenkins.

Can anyone help me?

---

<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:** [May 7, 2018, 4:13am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/2 "2018-05-07T04:13:40Z")

</div>

Can you check your .project file within project folder for these lines, is it available there?

```auto
<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>

```

---

<div class="post-metadata">

**Author:** ![devalex88](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/devalex88/32/336_2.png) [@devalex88](https://forum.katalon.com/u/devalex88)\
**Post date:** [April 17, 2019, 10:17am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/3 "2019-04-17T10:17:58Z")

</div>

This issue has been fixed.

---

<div class="post-metadata">

**Author:** ![Kumar\_Tumkur\_Nagendr](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@Kumar\_Tumkur\_Nagendr](https://forum.katalon.com/u/Kumar_Tumkur_Nagendr)\
**Post date:** [May 5, 2019, 7:01am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/4 "2019-05-05T07:01:18Z")

</div>

Hi Team,

I am getting this the above mentioned error when integrated with jenkins. What is the solution? Should I download latest version of katalon? Kindly help me.

---

<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:** [May 5, 2019, 7:04am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/5 "2019-05-05T07:04:20Z")

</div>

Hi, yes, please try the latest version of Katalon to see if this problem still persists.

Cheers !

---

<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:** [May 4, 2020, 7:04am UTC](https://forum.katalon.com/t/global-variable-is-not-recognized/10721/6 "2020-05-04T07:04:20Z")

</div>

Closed on May 4, 2020, 7:04am UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
