System is getting test steps in haphazard order

Tuesday, May 31, 2016
Avatar
Hi,

Here I am trying to fetch test test steps associated with a test case and then print them all in Excel sheet. Now the problem is , in excel sheet the order of test steps doesn't match with the order in UI. I have checked using SOAP UI also. The ordering of test steps associated with a test case in XML are correct but when I am calling testCase.getTestSteps() method then system is fetching the test steps in no particular order. Do you have idea why the system is behaving like this or please correct me if I am doing something wrong.

Thanks,
Abhijit
1 Replies
Tuesday, May 31, 2016
Avatar
re: abanerjee Tuesday, May 31, 2016
To be more clear, I am using this method of the Spira Web Service ,

public org.datacontract.schemas._2004._07.Inflectra_SpiraTest_Web_Services_v3_0_DataObjects.RemoteTestStep[] getTestSteps() {
        return testSteps;
    }

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

 

Statistics
  • Started: Tuesday, May 31, 2016
  • Last Reply: Tuesday, May 31, 2016
  • Replies: 1
  • Views: 7223