I created a runsettings file which looks like this
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<TestRunParameters>
<Parameter name ="environment" value="PROD" />
</TestRunParameters>
</RunSettings>
And then in my TestSetup portion (using LeanFT for UI tests) I specify that the target environment is contained under a paramater called environment
string env= TestContext.Parameters["environment"];
This doesnt seem to work, and I am not getting any particular error messages. Is this the right way to do this, or is there an easier way to just use Environment and something I pass into the command line.