Global variables


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-recorder/docs/global-variables.html

Using Version 5.6.5, is there a way to define Global Variable for an URL to open for each test case?

You can create a profile under the Profile section, define a variable called url with your URL and then in the test cases you put ${url} instead of the hard-coded URL.

Hope that helps!

I’m trying also use the global variable but with the command Open we are not allowed to use ${url} in the target filed, only on Value. Also we need to use ${GlobalVariable.url}. Anyhow it won’t work, it will add “$%url%7D” at the end of the current URL