I have 3 different profiles (default, stage, test) that all contain the same
global variable “EventName”
When I execute the test case on Stage or test profile, the test case only references
the globalVariable.EventName from the default profile instead of Stage or Test
profile.
Is this bug in katalon or is there something I’m missing? Obviously when run my
testcase on stage I want my custom object to call the global.variableEventName from the
Stage profile instead of the default profile.
Are you experiencing the problem when you run your test suite from Console? If so your issue seems to duplicate with the previous issue 16316. If you experience the problem when you run in the GUI, then your problem would be new. Which?
16316 has not been recorded as a bug, no fix announced yet.
Thanks kazurayam, after reading through http://forum.katalon.com/discussion/comment/16316, i used to the solution to delete the GlobalVariable.class in (\bin\lib\internal\GlobalVariable.class). So far all my global variables seem to reference the right profile now.