2022-07-28 17:47:33.346 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/globaltest
before test case
2022-07-28 17:47:33.722 DEBUG testcase.globaltest - 1: Article1 = $GlobalVariable.MainUrl/article1
2022-07-28 17:47:33.913 DEBUG testcase.globaltest - 2: println(Article1)
facebook.com/article1
2022-07-28 17:47:33.928 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/globaltest
why to do that?
it makes no sense, override the value of the new variable from the testcase script, this is why you have it
although you can simply use a local variable for this purpose, and you don’t need the global ‘Article’ one