...
Add the desired values in key=value pairs against QualitiaEnvironmentSettings in the .runtimesettings file in the following format and you are good to go.
Configuring Visual Studio Test Task
You must configure Execution options in the visual studio test task under build and release pipelines to be able to update execution properties run-time.
...