cancel
Showing results for 
Search instead for 
Did you mean: 

Get working directory using groovy

SOLVED
Highlighted
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 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super Contributor

Re: Get working directory using groovy

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

 

 

View solution in original post

1 REPLY 1
Highlighted
Super Contributor

Re: Get working directory using groovy

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

 

 

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors