Forum Discussion
MistaWizard
10 years agoOccasional Contributor
this is the best i could do - if anyone could give me a way to not list through (i know its better this way below for a few reasons)
def ass = "" def assList = testRunner.getTestCase().getTestStepByName("${it.name}").getAssertionList() for(x in assList) {ass = x.getToken().toString()}