Wanted to know the process of passing a variable from from TC to another TC?
Read the section on GlobalVariables here https://docs.katalon.com/display/KD/Variable+Types
You can set them like this:
GlobalVariable.myVar = WebUI.getText(findTestObject('something'))
And use them like this:
WebUI.setText(findTestObject('something'), GlobalVariable.myVar)
1 Like
So I need to define a global variable and assign a value and then assign as you suggested.
With the UI change seems that the location to define Global Variable has changed. Can you pls send me a snap shot, where to Global Variables.
I think they are in the profile? I’m not certain, I’m not using 5.4.x (yet).
Russ Thomas said:
I think they are in the profile? I’m not certain, I’m not using 5.4.x (yet).
Yep, they’re in the Profile section.