Ask a Question

Get working directory using groovy

SOLVED
sanj
Super Contributor

Get working directory using groovy

Do we have a way of getting current working directory in groovy?

I want to this so I can compose an absolute path for file I am trying to access.

 

1 REPLY 1
sanj
Super Contributor

Thats awesome googling can help you so so much

groovyutils = new com.eviware.soapui.support.GroovyUtils(context)
projectpath = groovyutils.projectPath
reference source

 

https://support.smartbear.com/readyapi/docs/testing/data-driven/types/groovy.html

 

 

cancel
Showing results for 
Search instead for 
Did you mean: