Hi Ole,
Thank for you helps. Yes, I want to build groovy library class ( I used 2.0.2 Pro). I have an issue how to use "testRunner.testCase.name". I did include "import com.eviware.soapui.model.testsuite.TestRunner". But it could get a test case name (null value) at run time.
Here's what I want to do. I want to build a class which's going to get the test case name and write to text file at run time. I'm using "testRunner.testCase.name". But have issue with it. Here's the I tried to build (not 100% complete yet)
package soapui.Report
import com.eviware.soapui.SoapUI
import com.eviware.soapui.model.testsuite.TestRunner
public class Rwrite
{
public void fw ()
{
TestRunner testRunner
println "TestCase: " + testRunner.testCase.name
}
Did I do something wrong? why testRunner.testCase.name's always return NULL.
Thanks,
zx