This Line Returns Steps name in a Test Case
stepList = testRunner.testCase.getTestStepList()
for(x in stepList){
if(!x.getName()=="Steprun")
testRunner.runTestStepByName(x.getName())
log.info(" " + x.getName())
}
stepList = testRunner.testCase.getTestStepList()
for(x in stepList){
if(!x.getName()=="Steprun")
testRunner.runTestStepByName(x.getName())
log.info(" " + x.getName())
}
No comments:
Post a Comment