Forum Discussion

Glenn_Halstead's avatar
Glenn_Halstead
Occasional Contributor
16 years ago

programatically get current TestStep name in Groovy Step

How can I get the current groovy TestStep name so I can log it like...


def testStepName = "???"
log.info ("TestCase: TestStep: " + testStepName + " finished OK")