Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: How to add a new folder and subfolder to the QC Resource using OTA

$
0
0
The section of code you have under "Code to add subfolder" needs to use the same objects that you used in the section labeled "QCResourceFolderFactory Object". The TreeManager object is for folders in the Test Plan.

If newFolder is pointing to the folder to which you want to add a subfolder, then you can do this

set subFolder = newFolder.QCResourceFolderFactor.AddItem(null)
subfolder.ParentID = newFolder.ID
subfolder.Name="AbhishekSubFolder"
subfolder.Post()

Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>