Forum Discussion

Ludo15101966's avatar
Ludo15101966
Contributor
9 years ago

Method and resource list for a step

Hello,

 

for coverage and documentation purpose I'm trying to list the resource/Method used for a teststep

I'm using groovy script

 

I have tried

 

stepPropList = teststep.getPropertyList()                         but theses properties are not listed

 

 

def property1 = '${'+ teststepname +'#Method}';            property is always empty for each step
def test1 = context.expand(property1)

 

what is the right way to list all the REST Teststep properties with Groovy ? (method, resource,Description...)

 

Thank you

 

 

 

No RepliesBe the first to reply