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

Issue while downloading resource from ALM using QTP

$
0
0

Hi all

 

I have created a QTP script that downloads the data files that are stored as ALM Resources. I have come to this code:

	Set qcConn = QCUtil.QCConnection
	Set oResource = qcConn.QCResourceFactory
	Set oFilter = oResource.Filter
	oFilter.Filter("RSC_PARENT_ID") = "1015"

	Set oResourceList = oFilter.NewList
	For i = 1 to oResourceList.Count

		'download resource
		 Set oFile = oResourceList.Item(i) 
		 sDataFile= oFile.FileName

		 oFile.DownloadResource slitTempPath, True.... Here comes code to import file to QTP during execution ........

        Next

 The thing is that this was working before perfectly fine, but now, with no apparent reason the method DownloadResource is not working anymore.

It does not throw any errors but the resource is not downloaded to my local machine

 

Does anyone knows what can be the reason for this method not to be working?

 

Thanks!


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>