How can I use the same stored variable in called test cases?

How can I use the same stored variable in called test cases?

In test case #1 the following line stores a Social Insurance Number in the variable= SIN01:
SIN01 = SINP.getSINAsString()

The SIN01 can be used in the current test case but when I call a new test case and try to use the SIN01 I get the following error:

FAILED because (of) Variable ‘SIN01’ is not defined for test case.

How can I use the same variable in the called test case.

Thanks,

Dave

Use a GlobalVariable instead. You can create the GV in a profile – see https://docs.katalon.com/display/KD/Variable+Types

GobalVariable.SIN01 = SINP.getSINAsString() 

Thanks Russ!

The ‘GlobalVariable.SIN01 = SINPO1.getSINAsString()’ assignment did the trick!

Cheers,
Dave