Forum Discussion
wdowling
14 years agoOccasional Contributor
This code works for a script step within a test case and will get the names of all the steps for that test case and output them to the log:
testRunner.testCase.getTestStepList().each(){
log.info(it.getName())
}
testRunner.testCase.getTestStepList().each(){
log.info(it.getName())
}