Environment Variables
Last updated
Last updated
Environment variables are used to pass parameters in to a query used by Design Test Object. This allows to easily switch from one environment to another and pass parameterized data (e.g. Server Name, Data Source Name, Data Base Schema) to the Test Object.
In this example the value 'dev' will be passed in to the variable @DB_Schema.
At runtime the variable @DB_Schema will be replaced by the value 'dev'. This mechanism enables to read data from environment specific database schemas. You can also use an OMrun variable into a parameter field (@param1 - @param4) and into a remark field.
You can also use Windows system-/user variables. → (%VariableName%)
Important: please restart OMrun to get the value of the new variable loaded and accessible.