How to get parameter from callTestCase

Hi all.

i have two testcase : testcase1 and testcase2

In testcase2 , i call testcase1 using

Map<String, Object> variables =new HashMap<String, Object>()
variables.put(‘val’, ‘123’)

WebUI.callTestCase(findTestCase(‘test1’), variables,FailureHandling.STOP_ON_FAILURE)

 

Can you please let me know how to get variables in testcase1.

 

Thank you so much !!!

You will have to use the global variables for this. See the solution here

http://forum.katalon.com/questions/createchange-variables-from-test-script/