I have two XML files which has constants defined of different category. I want to associate both the files as an external environmental files to a test.
I have a inserted one file using File -> settings. Select Environment node and select User-defined as a variable type. i have loaded one file and when i try to load the second file, the values of the first file overrides with second one.
One very crude solution would be to combine the two xmls externally and associate.
Other wise if you have information about which env file is getting used at which phase of the test script you can load one env file in the File-->Settings-->Environment where as the other file can be loaded at runtime using the statement
Environment.Load(sFilePath). I consider both the solutions to be bad one's but I don't see any alternative as of now , will post if I get anything apart from this .
If you do find solution to a problem - have a bud & re-visit !