I’m working on automation between one window application and one website. On my local machine I’m connected with my own credentials on the dev version the website and I’m using a preprod version of the window application.
At the beginning I set credentials as variables in the main activity of my process. A colleague suggested to use a config file (with a json inside it) on the computer itself so my credentials are not versioned in Git and if someone wants to play the script he can easily update the json file with his account and production url and path.
Regarding this example, what is the best to manage this kind of situation ?
Variables ? Config file ? A specific activity ?