Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHello,
If you were able to create a TestSuite, you should be able to access the TestSuiteConfig for it by calling testSuite.getConfig(); To add a new TestCase to the TestSuite, you can call testSute.addNewTestCase( String name ), which returns a WsdlTestCase. Then to add a TestStep to the TestCase, call testCase.addTestStep( String type, String name ), or testCase.addTestStep( String type, String name, String endpoint, String method ); (for HttpRequestSteps).
Regards,
Dain
eviware.com
If you were able to create a TestSuite, you should be able to access the TestSuiteConfig for it by calling testSuite.getConfig(); To add a new TestCase to the TestSuite, you can call testSute.addNewTestCase( String name ), which returns a WsdlTestCase. Then to add a TestStep to the TestCase, call testCase.addTestStep( String type, String name ), or testCase.addTestStep( String type, String name, String endpoint, String method ); (for HttpRequestSteps).
Regards,
Dain
eviware.com