| || |
Access to Test Plan -> Unattached folder via API
I'm creating a script that deletes all unattached test cases and test sets from both Test Plan and Test Lab.
It's easy to do it in case of Test Lab. All you need is to create TestSetTreeManager.Unattached object, then create TestFactory.NewList("") based on this object and iterate through it deleting all unattached test sets (sadly enough, it's impossible to delete Test Lab -> Unattached folder right away).
But things are not the same in case of Test Plan -> Unattached. So here goes my question.
How can I access Test Plan -> Unattached folder via API to delete either this entire folder itself with all unattached test cases or to delete only unattached test cases within this folder?