Hello, I tried to delete Default profile since I don’t need it anymore, I have mine and configure it to be default Execution Profile.
I know the profile is working fine since some of the global variables are used to configure the URLs I’m navigating to.
Nevertheless, I’m getting an error that says:
> 2021-12-10 10:34:25.486 ERROR c.k.katalon.core.main.TestCaseExecutor - Test Cases/CreateBasket FAILED.
> Reason:
> com.kms.katalon.core.exception.StepFailedException: These following reason:
> [Could not evaluate variable of profile: default. Details: java.io.FileNotFoundException: %workspace%\Profiles\default.glbl (El sistema no puede encontrar el archivo especificado)]
> at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:50)
> at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy)
> at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:23)
> at com.kms.katalon.core.keyword.internal.KeywordMain$stepFailed$0.call(Unknown Source)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runWithCucumberRunner_closure5.doCall(CucumberBuiltinKeywords.groovy:633)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$_runWithCucumberRunner_closure5.doCall(CucumberBuiltinKeywords.groovy)
> at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:74)
> at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:68)
> at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.call(Unknown Source)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runWithCucumberRunner(CucumberBuiltinKeywords.groovy:618)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runWithCucumberRunner$0.callStatic(Unknown Source)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runWithCucumberRunner(CucumberBuiltinKeywords.groovy:718)
> at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runWithCucumberRunner.call(Unknown Source)
> at CreateBasket.run(CreateBasket:5)
> at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
> at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
> at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:442)
> at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:433)
> at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:412)
> at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:404)
> at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:281)
> at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:138)
> at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:129)
> at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
> at TempTestCase1639128839130.run(TempTestCase1639128839130.groovy:25)
This error is solved by including a blank profile called default. But this does not make sense since it is not used (it is blank).
Operating System
Windows 10
Katalon Studio Version
8.2.0
Steps to reproduce:
- Create a new profile.
- Set that new profile as default Execution Profile.
- Delete default profile.
- Run a Test Case.
- Watch behaviour.
Expected Behavior:
The TCs are running without needing the default profile.
Actual Behavior:
The TCs are not running if default.glbl is deleted.