Environment variables localsettings.properties
I have two Environment variables in my test. One is for DEV and the other is for QA. Can I tell soatest which one to use in a property file when I run the command line? Is this the one to use? exec.env=[env1; env2; ...]
Comments
-
You can use option for SOAtest cli:
soatestcli.exe -config <configuration name> -resource <path to test suite name.tst relative to the workspace> -environment "Default Calculator Environment"
In your case:
soatestcli.exe -config <configuration name> -resource <path to test suite name.tst relative to the workspace> -environment DEV
orsoatestcli.exe -config <configuration name> -resource <path to test suite name.tst relative to the workspace> -environment QA
assuming that DEV and QA are the names of environment
See in Manual: "Applying an Environment Configuration to a
Regression Test from the Command Line"
You can also override default environment with Test Configuration used to start tests.See Test Configuration > ${Your Configuration} >Execution >Environment Options
Ireneusz Szmigiel0