| || |
how to get tree view from quality center
i am now using OTA to develop a tool which enables people schedule the automation work. This tool can interact between QTP and QC. Now I want to get the whole folder tree view from test lab in QC. For lacking of OTA API, I have to explore to find the correct interface for coding.
See my script below:
set TestSetFact = tdc.TestSetFactory
Set TestreeMgr = tdc.TestSetTreeManager
npath = "Root\Automation Testing\Asset Management\Asset Capitalization LifeCycles\"
Set Setlist = TestreeMgr.NodeByPath(npath)
Set testlist = Setlist.FindTestSets("Asset Capitalization - LC01")
it seems that i am only able to get certain testset instead of folder collection.
Would you pls help me out.
Appreciate it very much if you provide inputs in detail.
Re: how to get tree view from quality center
use this Setlist.SubNodes
folders and test sets are 2 different things in QC.