Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
either use property-expansion as I showes in my initial response, or write the value to a property with
def randomValue = 5 + 5*Math.random()
def props = testRunner.testCase.getTestStepByName("Properties");
props.setPropertyValue("randomValue", randomValue );
and then use a property-transfer to transfer it to some target..
Hope this helps!
regards,
/Ole
eviware.com
either use property-expansion as I showes in my initial response, or write the value to a property with
def randomValue = 5 + 5*Math.random()
def props = testRunner.testCase.getTestStepByName("Properties");
props.setPropertyValue("randomValue", randomValue );
and then use a property-transfer to transfer it to some target..
Hope this helps!
regards,
/Ole
eviware.com
Related Content
- 7 years ago
- 6 years ago