RJanecek
13 years agoRegular Contributor
[Closed] How to get all testSuiteRunner of projectRunner
Hi,
I know how to get Project or current TestSuiteRunner
but now I want to get all testSuiteRunner of project runner. I see that TestSuiteRunner has method getResult where should be all testSuiteRunner so I try to call:
but this always println just empty list. What I am doing wrong ?
thx for help
I know how to get Project or current TestSuiteRunner
def pr = context.getProperty( "#ProjectRunner#" )
def tsr = context.getProperty( "#TestSuiteRunner#" )
but now I want to get all testSuiteRunner of project runner. I see that TestSuiteRunner has method getResult where should be all testSuiteRunner so I try to call:
println tsr.getResults()
but this always println just empty list. What I am doing wrong ?
thx for help