System is getting test steps in haphazard order

Tuesday, May 31, 2016 6:59:30 AM
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 7:04:29 AM
Avatar
re: abanerjee on Tuesday, May 31, 2016 6:59:30 AM
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;
    }
Statistics
  • Started: Tuesday, May 31, 2016 6:59:30 AM
  • Last Reply: Tuesday, May 31, 2016 7:04:30 AM
  • Replies: 1
  • Views: 680