Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: vapi xp vbscript issue with uploading local file to QC Resources

$
0
0

Hi,

 

I am also trying to upload the run-time sheet to QC and I am getiing the error "The external resource could not be uploaded to the QualityCenter server repository."

 

I first save the sheet to the "Temp Folder" specified in the QTP setting then I try to upload it from that location.

 

Please see below for a code extract:

 

      Set resource=ResourceList.Item(itemCtr)
      resource.filename = FileName
      Datatable.Export "D:\Users\"&Environment("UserName")&"\AppData\Local\Temp\Database_Information.xls"
      resource.Post
      resource.UploadResource"D:\Users\"&Environment"UserName"&"\AppData\Local\Temp\Database_Information.xls",true

 

------------------------------------------------------

 

I get the error on the last line.... Please assist.

 

Regards,

Thabo


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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