So actually, going to File > Clean Up, and restarting Katalon Studio seems to fix the problem. What was strange is the global variables were working just fine, then I got this error message when I created a new test case (without modifying the global variables or the execution profile), but now it seems to be fine again. It happens from time-to-time, but I can’t reliably reproduce the issue, it’s just kind of quirky.
I have no problems here. Can you send me your project? By the way, that note in the release notes is referring to another issue, not related to your current one just FYI
I have no problems here. Can you send me your project? By the way, that note in the release notes is referring to another issue, not related to your current one just FYI
I could create another project, but you can also reproduce the issue by creating one of the sample projects File > New Sample Project > Sample Web UI Testing Project, creating a new profile, and adding a new global variable in that profile. Like I said though, it will work sometimes and randomly fail other times.
Since I can’t see more of the stacktrace in the error message, I’m guessing that whatever the global variable is being concatenated to in the Open Browser command is null where it should probably be an empty string
Some colleagues of mine are running into this as well. It seems like those of use that have upgraded Katalon are not having this while those that just installed to 5.4.2 are having it. We also noticed that when it works the default profile is the first in the list (both in the IDE and in the GlobalVariables.groovy). For those that the error occurs that profile is last in the list. Not sure why, but for some people default gets saved as the first and for some people it’s the last (resulting in error). @Vinh Nguyen can you use this info to try to recreate and fix the issue?
Hey everyone. This is only a partial answer, but this is what we found. We are using 5.4.2. We had created 2 new profiles and our tests stopped working (similar error to above) … oh oh … we then deleted the new profiles and re-ran the tests. Now “default” wasn’t working either.
After several minutes of running around the office with our arms in the air screaming in panic, we compared the current default.glbl to a backup I had made. We found a hidden (I think) field had been changed from true to false:
false
I closed Katalon, used notepad to change the false back to true, then reopened Katalon and the test started working again.
With impending deadlines, we haven’t tested further using multiple profiles, but this is something you might be able to work with.
Hi, I had the same problem. Version 5.10.1
I first renamed the files with a number and a minus. Like 01-test, 02-acc
Then I renamed the files again like
test
acc