Micro Focus QTP (UFT) Forums
Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP (/Thread-Get-the-Parent-Folder-name-in-Test-Plan-for-a-Test-from-Test-Lab-using-QTP)



Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP - godsown - 09-29-2011

Hi,
The requirement is: To get the name of the folder that a particular test, that is being run in the test lab, belongs to in the Test Plan in QC. This needs to be done using the QCUtil object in QTP.
I have no clue where to start the code with. Only thing I know is that QCUtil.CurrentTestSetTest.Name will give me the name of the test case in Test Lab, whose parent folder needs to be found.

Any help / code for this ?