Monday, June 27, 2016

Get Test Steps Name + Groovy

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())


}

No comments:

Post a Comment