rajs2020
5 years agoFrequent Contributor
Access custom properties programmatically ?
Test cases have custom properties. To access each property inside a groovy script, I have to repeat the this "context.expand( '${TestCase#SomeProperty}" for each property. Is there a shorter way to access such properties? Perhaps like this:
def allProps = context.expand('Get all the properties')
def name = allProps.get('Name')
It can not be done, but you have these options,