autoscout24
15 years agoContributor
Error in changing the script library path
Hi Guys,
As we maintain the set of script library files in the repository. we need to change the script library path during run time. so i have following script in the Project --> Load script area,
But when we restart the SoapUI pro (after above script ran atleast once). None of the script libraries are recognized. I have a bunch of error messages. Please find the attachment for error messages.
SoapUI version used for testing :- 3.6.2 Pro - Snapshot
We always run our project in command line. Hope the solution that you guys are going to provide will also work for the command line.
Regards
Vijay
Note:-
Please answer my previous question also.
1. viewtopic.php?f=2&t=5619
2. viewtopic.php?f=2&t=5045
As we maintain the set of script library files in the repository. we need to change the script library path during run time. so i have following script in the Project --> Load script area,
def scriptDirectory = context.get('${projectDir}')+"\\scripts";
com.eviware.soapui.SoapUI.settings.setString( "Script Library", scriptDirectory)
But when we restart the SoapUI pro (after above script ran atleast once). None of the script libraries are recognized. I have a bunch of error messages. Please find the attachment for error messages.
SoapUI version used for testing :- 3.6.2 Pro - Snapshot
We always run our project in command line. Hope the solution that you guys are going to provide will also work for the command line.
Regards
Vijay
Note:-
Please answer my previous question also.
1. viewtopic.php?f=2&t=5619
2. viewtopic.php?f=2&t=5045