Forum Discussion
Harinadh
2 years agoNew Contributor
//It is the working code
def testStep = testRunner.testCase.testSteps["***Enter your testStepName***"]
if (testStep.getPropertyCount() > 0)
{
for (prop in testStep.getPropertyList())
{
log.info( prop.getName()+" = "+prop.getValue())
}
}
else
{
log.info(testStep.getName() + " doesn't have properties!")
}