-
Notifications
You must be signed in to change notification settings - Fork 2
Store Property
gavinbunney edited this page Mar 7, 2011
·
2 revisions
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.
storeProperty = [property : 'nameOfThePropertyToStoreTheValue', value : 'valueToStore' ]
to access the stored property
myField.value = @nameOfThePropertyToStoreTheValue
storeProperty = [property : 'userName', value : 'admin']
userNameField.value = @userName
- Home
- Setting Up
- Configuration
- Writing Madcow Tests
- Running Madcow Tests
- Data Parameters
- Templates
- Macros
- Disabling A Test
- Spreadsheet Scenario Testing
Madcow Operations
- Madcow Operations
- Madcow Operations - Table
- Madcow Operations - XPath Extras
- List of Madcow Operations
Extending and Customising Madcow
Reference
For Developers