Centralizing the custom properties defined for Environments. Want to read values from a config file.
We have projects created which has to be executed across N environments. Currently it is quite cumbersome to manually create environments and maintain it.
For example I have an environment defined XYZ and a custom property defined .Now if there is a change in the property value have to manually edit all the projects for the property to get updated.
How can I use one centralized file with all properties defined and based on the environment it can make the changes to that environment. What are the options I have to implement this?
Sample Config file
I have projects with environments defined as in the snapshot attached, now I want to set these properties from a generic config property file which has these properties defined with different values based on the environment. So when I execute the test I want that properties are extracted from the generic config file at the time of execution based on the environment chosen.
Solved! Go to Solution.