Tareque
17 years agoOccasional Contributor
Invoking TestRunner from web application
Hi,
I am creating a web application which will allow users to execute testRunner from a browser. Is there any way this can be achieved? Currently I am using the following piece of code in my Webapplication. This starts a new command window and executes the WebRunnerTestCase.
String cmdLine = "cmd /c start testrunner.bat -r -c WebRunnerTestCase D:/soapUIprojects/DBDrivenTest-soapui-project.xml";
Process proc = Runtime.getRuntime().exec(commandLine.toString(), null, soapUIBinDir);
The problem with this solution is that if the server is running on some remote system this will not work. Is there any way i can trigger the execution of com.eviware.soapui.SoapUIProTestCaseRunner from a Web Application?
Would appreciate any suggestion.
Regards
T
I am creating a web application which will allow users to execute testRunner from a browser. Is there any way this can be achieved? Currently I am using the following piece of code in my Webapplication. This starts a new command window and executes the WebRunnerTestCase.
String cmdLine = "cmd /c start testrunner.bat -r -c WebRunnerTestCase D:/soapUIprojects/DBDrivenTest-soapui-project.xml";
Process proc = Runtime.getRuntime().exec(commandLine.toString(), null, soapUIBinDir);
The problem with this solution is that if the server is running on some remote system this will not work. Is there any way i can trigger the execution of com.eviware.soapui.SoapUIProTestCaseRunner from a Web Application?
Would appreciate any suggestion.
Regards
T