Forum Discussion
HimanshuTayal
4 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
- jonathon4 years agoContributor
- HimanshuTayal4 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()
- jonathon4 years agoContributor
This is being run from a test suite setup script
Caused by: groovy.lang.MissingPropertyException: No such property: testRunner for class: Script21
Related Content
- 12 years ago
Recent Discussions
- 5 days ago
- 9 days ago