Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
You can access the project level variable as follows,
Suppose I have a variable named test at project level,
This should work.
Some more quick tips and tricks,
http://www.soapui.org/Scripting-Properties/tips-a-tricks.html
Thanks,
Jeshtha
You can access the project level variable as follows,
Suppose I have a variable named test at project level,
def projectProperty = testRunner.testCase.testSuite.project.getPropertyValue( "test" )
log.info "MESSAGE: " + projectProperty
This should work.
Some more quick tips and tricks,
http://www.soapui.org/Scripting-Properties/tips-a-tricks.html
Thanks,
Jeshtha