Forum Discussion
Liberty_Informa
11 years agoRegular Contributor
Absolute path will not be possible as base path can not be determined at each developers machine. I think absolute path should not be an issue because I use it in load script and groovy steps to read test data which works OK.
I was setting up script path (at the preference level) in the load script as below. When you told about Project setup script, I commented it out in the load script and added new code in the setup script.
The output log after adding code in setup script is much same.
I expect soapUi to use path circled in green however it sets up path circled in red. I am sure soapUI is reading this from the soapui-setting.xml. It will have always entry of a path just one older to current run.
I was setting up script path (at the preference level) in the load script as below. When you told about Project setup script, I commented it out in the load script and added new code in the setup script.
// Setting Script Library
String scriptPath = projectPath + "/../../Setup"
SoapUI.settings.setString( SoapUIProSettings.SCRIPT_LIBRARY, scriptPath )
log.info "${text*10} Script Library: " + SoapUI.settings.getString( SoapUIProSettings.SCRIPT_LIBRARY, "Script Library")
The output log after adding code in setup script is much same.
I expect soapUi to use path circled in green however it sets up path circled in red. I am sure soapUI is reading this from the soapui-setting.xml. It will have always entry of a path just one older to current run.
Related Content
- 4 years ago
Recent Discussions
- 18 days ago