How can copy Test Case with test steps using Spira v4.x SOAP web services

Tuesday, March 1, 2016
I use Spira v4.x SOAP to copy test case to another folder . But new test case that is copied without test steps
How can copy Test Case with test steps using  Spira v4.x SOAP web services

this method i'm using:

int copyTestFolderId = 368549;

                    if (originalTestCaseId == 343652) {
// remoteTestCase.setTestSteps(arrayTestStep);
listTestStep = remoteTestCase
for (RemoteTestStep testSteps : listTestStep) {
soap.testCaseCreate(remoteTestCase, copyTestFolderId);
1 Replies
Wednesday, March 2, 2016
re: ngocha1088 Tuesday, March 1, 2016
Hi Ha

You need to use the  soap.testCaseAddStep function to add the test steps.

So loop through each step in the test case and then add them.


Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Tuesday, March 1, 2016
  • Last Reply: Wednesday, March 2, 2016
  • Replies: 1
  • Views: 1424