Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
if your property-file is a "standard" property-file, you can use the "Load Properties" button in the properties-step window toolbar to load all properties and automatically add them.. otherwise a groovy script can of course be used as well.. use something like
def prop =
testRunner.testCase.testSteps["Properties"].addProperty( "myproperty" )
prop.value ="myvalue"
to create a property and set its value
Hope this helps!
regards,
/Ole
eviware.com
if your property-file is a "standard" property-file, you can use the "Load Properties" button in the properties-step window toolbar to load all properties and automatically add them.. otherwise a groovy script can of course be used as well.. use something like
def prop =
testRunner.testCase.testSteps["Properties"].addProperty( "myproperty" )
prop.value ="myvalue"
to create a property and set its value
Hope this helps!
regards,
/Ole
eviware.com
Related Content
- 5 years ago
- 5 years ago
- 6 years ago
Recent Discussions
- 15 years ago