There are three types of variables supported in Katalon Studio, as below:
A private variable can be referred only within the scope of the test case where it is defined.
A public variable can be exposed as the parameter for the test case where it is defined
A global variable can be referred anywhere of your project.
Refer to the subsequence sections for how to define a variable of each type.
Variables defined in Scripting view of Test Cases are classified as private variables. These variables will only be accessible within the scope of your Groovy class. For example:
You can manage the list of public variables of your test case by using the Variables tab in your Test Case Editor.
You can manage the list of global variables in your project by using the Global Variables view.