internal.GlobalVariable.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ExecutionProfilesLoader Show documentation
Show all versions of ExecutionProfilesLoader Show documentation
A Katalon Studio plugin that enables loading Execution Profiles in test scripts
package internal
import com.kms.katalon.core.configuration.RunConfiguration
import com.kms.katalon.core.main.TestCaseMain
/**
* This class is generated automatically by Katalon Studio and should not be modified or deleted.
*/
public class GlobalVariable {
/**
*
*/
public static Object CONFIG
/**
*
*/
public static Object DEBUG_MODE
/**
*
*/
public static Object ENVIRONMENT
/**
*
*/
public static Object CATEGORY
/**
*
*/
public static Object INCLUDE_SHEETS
/**
*
*/
public static Object INCLUDE_URLS
/**
*
*/
public static Object SAVE_HTML
/**
*
*/
public static Object TIMEOUT
/**
*
*/
public static Object Hostname
/**
*
*/
public static Object URL1
/**
*
*/
public static Object AVAR1
/**
*
*/
public static Object AVAR2
/**
*
*/
public static Object AVAR3
/**
*
*/
public static Object BVAR1
/**
*
*/
public static Object myList
/**
*
*/
public static Object NULL_VARIABLE
/**
*
*/
public static Object EMPTY_VARIABLE
static {
try {
def selectedVariables = TestCaseMain.getGlobalVariables("default")
selectedVariables += TestCaseMain.getGlobalVariables(RunConfiguration.getExecutionProfile())
selectedVariables += TestCaseMain.getParsedValues(RunConfiguration.getOverridingParameters())
CONFIG = selectedVariables['CONFIG']
DEBUG_MODE = selectedVariables['DEBUG_MODE']
ENVIRONMENT = selectedVariables['ENVIRONMENT']
CATEGORY = selectedVariables['CATEGORY']
INCLUDE_SHEETS = selectedVariables['INCLUDE_SHEETS']
INCLUDE_URLS = selectedVariables['INCLUDE_URLS']
SAVE_HTML = selectedVariables['SAVE_HTML']
TIMEOUT = selectedVariables['TIMEOUT']
Hostname = selectedVariables['Hostname']
URL1 = selectedVariables['URL1']
AVAR1 = selectedVariables['AVAR1']
AVAR2 = selectedVariables['AVAR2']
AVAR3 = selectedVariables['AVAR3']
BVAR1 = selectedVariables['BVAR1']
myList = selectedVariables['myList']
NULL_VARIABLE = selectedVariables['NULL_VARIABLE']
EMPTY_VARIABLE = selectedVariables['EMPTY_VARIABLE']
} catch (Exception e) {
TestCaseMain.logGlobalVariableError(e)
}
}
}