Forum Discussion
- HarinadhNew 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!")
}
Related Content
Recent Discussions
- 2 days ago