Skip to content

User Settings

Branko Juric edited this page Jan 19, 2016 · 7 revisions

Gwen logo User Properties

User properties can be defined in a gwen.properties file in your local user home directory. Gwen will automatically load all properties defined in this file (if you create it) and make them available to your features at runtime. Properties defined in this file will override all other properties of the same name defined in other properties files that may be passed to Gwen through the -p or --properties launch option. They will not however, override system properties passed to Gwen through -D JVM arguments. Systems properties will always have precedence over all other properties.

You can define any properties you like in this file and referenced them in your features using one of the string interpolation mechanisms that Gwen provides. This includes arbitrary user properties and runtime settings.

Clone this wiki locally