Skip to content

Store Property

gavinbunney edited this page Mar 7, 2011 · 2 revisions

Store Property

Provides the ability to store a given value into a property. It supports both dynamic properties and traditional ant properties.

Stored properties are accessed using the @ notation and are only available within a single test's runtime.

Usage

storeProperty = [property : 'nameOfThePropertyToStoreTheValue', value : 'valueToStore' ]

to access the stored property
myField.value = @nameOfThePropertyToStoreTheValue

Examples

storeProperty = [property : 'userName', value : 'admin']
userNameField.value = @userName
Clone this wiki locally