Forum Discussion
HimanshuTayal
5 years agoCommunity Hero
jonathon : Please try with the following code, hope it would resolve your issue
def projectPath = new com.eviware.soapui.support.GroovyUtils(context).projectPath //gets the path of the project root
log.info projectPath
jonathon
5 years agoContributor
- HimanshuTayal5 years agoCommunity Hero
jonathon : I guess it is returning the correct location as it is under c:/, please try below code
testRunner.getTestCase().getTestSuite().getProject().getPath()