In my experience your best bet when working with 4Test is to write the value to a .ini file and read it back as needed. If you are calling methods from different .t files (not running testcases) you can just pass the value(s) to the method via extra arguments.
↧