I set Global variable in default profile, when user creating script he need to update global variable.
For the most part, Global Variables are meant to be static and shouldn’t be changed from within a script. That being said, you should be able to do it with this syntax:
GlobalVariable.var1 = 'new value'
This assumes that you have defined a global variable “var1” for the currently-selected profile. A couple of notes:
1.) This new value will not persist once the Test Suite completes. It will be reset to whatever value you had in the profile setting.
2.) If you are simply trying to pass values between test cases in a suite, there are better ways to do that. Check my post here:
Hope this helps