downloading files from Test Resources section
I am building a C# program to download, modify, and upload files in Quality Center. I am able to do this for Test Scripts but for some reason, the same method does not work for files stored in the Test Resources area of Quality Center.
For Test Scripts, I create a TreeManager object based on the TDConnection. From there, I use:
SubjectNode scriptRootNode = (SubjectNode)tree.get_NodeByPath(@"Subject\Automat ion\QTP");
to find the root node, and then go on to find each file beneath.
However, this doesn't seem to work for files in the Test Resource section. There is no path with which I can replace "Subject\Automation\QTP" and have it find these files.
Is this just impossible? If not, what is wrong with my approach?
Thanks in advance, and please let me know if I clarify.
Re: downloading files from Test Resources section
Treemanager is for Test Plan and Lists.
Use QCResourceFolderFactory. It is documented in the OTA_API_Reference.chm Also, check out document KM742519 on the HP KB site.