How can download the specific QC folder using QTP script to my local machine.
Please provide more information. What kind of folder are you trying to download - what QC module is the folder in? Do you want the contents of the folder? What do you want to do with the information?
(Opinions and information contained in this post are wholly my own and do not reflect the opinions of my employer.)
I want to download folder (all the files) from the ALM>>TestResources>>Resources>>A utomation Resource
to my local drive
Please check the attached screenshot.
There is a function written by Joe Colantonio but works for only one file for one time.
Maybe you can iterate through all files in the folder inside the function and download all files in that folder
Please also notify me if you try and success with that, good luck !
Set qcConn = QCUtil.QCConnection
Set oResource = qcConn.QCResourceFactory
Set oFilter = oResource.Filter
oFilter.Filter("RSC_FILE_NAME") = resourceName
Set oResourceList = oFilter.NewList
If oResourceList.Count = 1 Then
Set oFile = oResourceList.Item(1)
oFile.FileName = resourceName
oFile.DownloadResource saveTo, True
Set qcConn = Nothing
Set oResource = Nothing
Set oFilter = Nothing
Set oFlieList = Nothing
Set oFile = Nothing
I look serious because I am serious.