Is there a way to easily rename the ‘default’ profile? We wanted to use a different name but the ‘rename’ option is disabled in the UI. So we went ahead and deleted the default.glbl file from the project, but that started throwing this error: Could not evaluate variable of profile: default
and this is because of this line in %\Libs\internal\GlobalVariable.groovy
def selectedVariables = TestCaseMain.getGlobalVariables("default")
If I comment this line then the tests execute without any problem, but the change is lost on restarting Katalon Studio or re-opening the project.
Another workaround I found was to execute this in TestListener inside
import com.kms.katalon.core.configuration.RunConfiguration as RC
def executionProfile = RC. getExecutionProfile()