user1
11 years agoOccasional Contributor
Need help in using global variable for the folder where the data file is located
Hi, I am new to SoapUI. I have created one Testsuite (data driven) functional test suite and added some assertions and property transfer features. I did not add any Groovy script. I had a dataso...
- 11 years agosoapUI provides a common syntax to dynamically insert ("expand") property values during processing. The syntax is as follows:
${[scope]propertyName[#xpath-expression]}
#Global# - references a global property. Found in File>Preferences>Global Properties tab. Reference properties across all projects
For more details:
http://www.soapui.org/scripting---properties/property-expansion.html - 11 years agoDefine property name as master_directory and its value as C:\SoapUI\SoapUI-Pro-5.1.2.
And it should be accessed as ${#Global#master_directory}