Invoking TestRunner from web application
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2008
07:18 AM
02-14-2008
07:18 AM
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
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2008
03:30 PM
02-18-2008
03:30 PM
Hi Tareque,
try linking to the soapui jars and running the SoapUIProTestCaseRunner class directly!?
regards,
/Ole
eviware.com
try linking to the soapui jars and running the SoapUIProTestCaseRunner class directly!?
regards,
/Ole
eviware.com
