# OMrun Variables

### OMrun Variables #OMrun\[VariableName]\#

OMrun internal variables are used to pass internal path and business system information to the parameter list of a Design Test Object.\
This allows an installation of a business system on any machine and disk without updating the environment variables.

### Use variables #OMrun\[VariableName]\#

The values of the OMrun variables in this example below are used in the OMrun self test.

| OMrun Variable Name   | Variable **Example** Value                                                |
| --------------------- | ------------------------------------------------------------------------- |
| #OMrunUserDataPath#   | C:\Users\\%username%\AppData\Roaming\dbi\OMrun                            |
| #OMrunProjectPath#    | C:\data\projects\TestProject\_OMrun                                       |
| #OMrunBuiltInTest#    | C:\Program Files\dbi\OMrun\BuiltInTests                                   |
| #OMrunMigration#      | C:\Program Files\dbi\OMrun\DataMigration                                  |
| #OMrunTestDB#         | C:\Users\\%username%\AppData\Roaming\dbi\OMrun\Database\OMrunTestData.sdf |
| #OMrunVersion#        | 5.5.0.1                                                                   |
| #OMrunBusinessSystem# | OMrun                                                                     |
| #OMrunEnvironment#    | Test1                                                                     |

### Windows environment variables

You can also use and combine Windows system-/user variables. → (%VariableName%)

**Important**: please **restart OMrun** to get the value of the new variable loaded and accessible.
