There are two options for you.
- Set global variable in TC1 and use it in TC2 (within test suite run) - variable won’t be persisted after execution
- Store your variable externally (file, database, …) and read it - variable is persisted after execution
There are two options for you.