Forum Discussion
patelakhil
16 years agoContributor
Hi Nebojsa
Thanks for this help.
Basically right now I am doing as same way as you suggested but instead of execuring through command line, I want to instantiate the test runner class, set the options and properties and than some method line run()/start() etc, I should be able to run the tests of soapui proejct.
As I have seen that some example exists for non pro version on soapui site:
http://www.soapui.org/userguide/command ... unner.html
The example is :
public void testRunner() throws Exception
{
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile( "src/dist/sample-soapui-project.xml" );
runner.run();
}
But we have created project using some features of PRO version and I think due to that we cannot use above mentioned code to run the test runner from java.
So do we have same thing available for testcase runner of PRO version?
Thanks for this help.
Basically right now I am doing as same way as you suggested but instead of execuring through command line, I want to instantiate the test runner class, set the options and properties and than some method line run()/start() etc, I should be able to run the tests of soapui proejct.
As I have seen that some example exists for non pro version on soapui site:
http://www.soapui.org/userguide/command ... unner.html
The example is :
public void testRunner() throws Exception
{
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile( "src/dist/sample-soapui-project.xml" );
runner.run();
}
But we have created project using some features of PRO version and I think due to that we cannot use above mentioned code to run the test runner from java.
So do we have same thing available for testcase runner of PRO version?