Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

How to get Test Plan folder name and path?

$
0
0

I use this code to get name and a attachment path from Test Lab:

 

Set nowTestSet = QCUtil.CurrentTestSet
Set TestSetParentFolder = nowTestSet.TestSetFolder
Set UpperParentFolder = TestSetParentFolder.Father
Set otaAttachmentFactory = nowTestSet.Attachments
Set otaAttachmentFactory = UpperParentFolder.Attachments
Set attachList = otaAttachmentFactory.NewList ("") 

Now, because I want to use debug mode, I need to execute from Test Plan, but the code doesn't work. 

I think that the name can be taked with "QCUtil.CurrentTest" but the code to move into parent folders doesn't work

Could some one help me please?

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles