Hi,
I’m currently deploying my scripts to the target server to execute them with Katalon Runtime Engine.
On last Friday, my scripts were executing correctly. Nothing changed in the code but I’m now facing a weird issue when trying to execute some test suite:
2023-01-16 11:19:09.190 INFO c.k.k.c.keyword.builtin.CommentKeyword - Profil : Rec
2023-01-16 11:19:09.233 ERROR c.k.katalon.core.main.TestSuiteExecutor - ? No such property: connectionString for class: internal.GlobalVariable
2023-01-16 11:19:09.317 INFO c.k.katalon.core.main.TestSuiteExecutor - --------------------
2023-01-16 11:19:09.317 INFO c.k.katalon.core.main.TestSuiteExecutor - END Test Suites/xxx
The concerned Global Variable (“connectionString”) is common to all environments, so it’s located in the “default” profile.
But I’m executing the test suite with the “Rec” environment:
katalonc -noSplash -runMode=console -projectPath="xxx" -retry=0 -testSuitePath="Test Suites/xxx" -browserType="Chrome" -executionProfile="Rec" [...]
Here’s some code of the test suite:
import internal.GlobalVariable
@SetUp(skipped = false) // Please change skipped to be false to activate this method.
def setUp() {
def executionProfile = RC.getExecutionProfile()
WebUI.comment("Profil : ${executionProfile}")
// Initialisation des variables
Variables.connectionString = GlobalVariable.connectionString;
All is working when executed with Katalon Studio and was working with the Katalon Runtime Engine until last Friday…
Thanks a lot for your help.