Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > Cannot retrieve test case...

Cannot retrieve test case folders using SOAP API function TestCase_Retrieve RSS Feed

Tuesday, August 21, 2012

I'm using TestCase_Retrieve to retrieve test cases and folders by name (using property Name). It works fine with test cases, but not with test case folders.

How can you retrieve test case folders using the SOAP API ?

2 Replies
Adam SAdam S
re: Nicolas Bernier on Tuesday, August 21, 2012
Tuesday, August 21, 2012
The API follow the SpiraTeam user interface and as such when you retrieve a test case using that function, it will return the test case and all parent folders that contain the test case. Consequently (like the UI), it only will find test cases that match the filter not folders. To get folders you'd need to retrieve all the folders and the iterate through them to get a match.
Nicolas BernierNicolas Bernier
re: Adam S on Tuesday, August 21, 2012
Tuesday, August 21, 2012

Anyway, a TestCase_RetrieveFolder would ve very convenient for automated migration processes, retrieving the whole tree can be very expensive with a large amount of folders and test cases.
  • Started: 8/21/2012
  • Last Reply: 8/21/2012
  • Replies: 2
  • Views: 523
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.