djeang
3 years agoNew Contributor
projectPath returns project parent directory
I Use ReadyAPI 3.20.2
My project is located under c:\readyapi-projects\my-project and is shared on git
So there is on my disk :
- c:\readyapi-projects\my-project\setting.xml file
- c:\readyapi-projects\my-project\.git directory
But when I want to get the project base path using :
def projectPath = new com.eviware.soapui.support.GroovyUtils(context).projectPath
log.info projectPath
I get c:\readyapi-projects instead of c:\readyapi-projects\my-project
Does someone has an idea on how to get the path of the project (and not the parent dir) ?