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?