How to list top-level Test Case folders for a project using WebService?

Tuesday, September 11, 2012
Question #1:
Is it possible to list only the top-level TestCase folders of a project using WebService?

Question #2:
How can I filter a bool property using the WebService?
I'd like to fiter the Folder property of TestCase, and also the Iteration property of Release.
2 Replies
Wednesday, September 12, 2012
re: daniel.varhegyi Tuesday, September 11, 2012

Hi Daniel

1) You would need to use the TestCase_Retrieve() function and then once you get the results, filter the data to only include items where IndentLevel field has a length of 3 and the Folder flag is true:

remoteTestCase.IndentLevel.Length = 3 && remoteTestCase.Folder == true

2) Yes you can filter the Iteration field of release by using a RemoteFilter where StringValue = "Y" and PropertyName = "IterationYn"



Wednesday, September 12, 2012
re: inflectra.david Wednesday, September 12, 2012

And can I filter to the Folder property of the TestCase?

My problem is that we have too many TestCases and I don't want to query all of 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, September 11, 2012
  • Last Reply: Wednesday, September 12, 2012
  • Replies: 2
  • Views: 1551