I'm trying to pass variable values from one test to another. I'm planning to use External Environment Variable file stored in QC and make changes to the variable values based on each test run. However, I'm not able to change the environment variable values as QTP is complaining that ".. is an external environment variable. You cannot modify its value."
How can we modify the value of an External Environment Variable value?
Then use the global dictionary object. Tarun also has a COM object to allow you to create/share information across tests.
I've done something similar to his that allows you to create multiple Hashtables in a parent Hashtable which you can then reference by name during your test and since the information lives so long as QTP is running it's visible across tests. This is done in a .DLL written in C# which I can call from my test.
Thanks for your help. I've tried your solution but there is a problem. I've my external file stored in QC and it is unable to save it in QC once the variable value is modified. Is there a way to save the file in QC once modified?