Monday, June 27, 2016

Test Case name in Groovy

def testCases = context.testCase.testSuite.getTestCaseList()
testCases.each
{
    log.info "Test Case:" + testCases.name
  for(testSteps in it.testStepList)
    {
        log.info "Test Step:" + testSteps.name
   }
}

No comments:

Post a Comment