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()}
- tech3216 years agoContributor
.getToken() does not work - her is what I get
groovy.lang.MissingMethodException: No signature of method: Script30.getToken() is applicable for argument types: () values: [] Possible solutions: getClass() error at line: 79.
Any idea what else to use to retreive the content of the assertion?
Related Content
Recent Discussions
- 15 years ago