How use the variables mentioned in the .env file using environmentConfig ?
I want to use different environment file for each environment. I have exported the file(smoke.env) and placed in 3 different folders(DEV,SIT,PAT). The values of each environment variables vary as per the environment. I want to execute the script from .cli mode. Wen I tried to use -environmentConfig "Path of .env file" from .bat file, its not picking the actual value that is needed for the environment. Instead it is picking up the default environment available in the script. Could you please help me how to use -environmentConfig instead of -environment