I have 3 files (each file contains a number of functions and it has its global variable) and 1 main test scripts (this file also has global variable). I want to put all global variable in 1 single file. How do I do that and use that.
public function ABC()
public function ABCD()
public function ABC23()
public function ABCD233()
public function XYH344()
public function XYH()
using all global variable declared in File_01, File_01, File_01
Now, I would like to keep all global variable in 1 file, so it has:
so what I need to do so that all functions file and main testscript files can read those global variable.
Why don't you create a startup script ? Settings->General Options->Environment. I like to load my global variables from an ini file using GetPrivateProfileString, but there are many other options (xls data sheet, xml file, database, tab delimited text file, ect)