Forum Discussion
- Hi,
Please see the following link for getting and setting properties. You can use some Groovy to do this across projects.
import com.eviware.soapui.SoapUI
def projectProperty = SoapUI.getWorkspace().getProjectByName("My project").getPropertyValue("My project property")
log.info projectProperty
http://www.soapui.org/Scripting-Propert ... ricks.html
Regards,
Marcus
SmartBear Support - jsreesoapContributorThanks Marcus.
I tried to get testSuite property by using..
import com.eviware.soapui.SoapUI
def projectProperty = SoapUI.getWorkspace().getProjectByName("REST Project 1 End to End").getTestSuiteByname("https://testapi.foliofn.com End to End TestSuite").getPropertyValue("folioName")
log.info projectProperty
it threw me error. Not sure what I am doing wrong :-( - jsreesoapContributorIts working.
Thanks for your help.