Forum Discussion
Philip_Baird
11 years agoCommunity Expert
Hi Don, we follow an approach similar to Mikes except we don't even persist the Project Variables.
Instead, we store all usename/password information in an .ini file, then when tests are run, this .ini file is read and a combination of the following methods are used to create and purge Project Variables containing the credentials:
Project.Variables.VariableExists()
Project.Variables.AddVariable()
Project.Variables.RemoveVariable()
Because the runtime is interpreted, the Project Variables do not need to exist until the code accessing them is executed.
Regards,
Phil Baird