Issue with Re-Downloading Data Table via OTA
I am trying to download a data table from ALM Test Resources module using the below code.
I am able to download the file successfully the first time I run this code, but If I run the same code again to download the "same" data table, I am getting an error saying that "The resource could not be downloaded to the Application Lifecycle Management client machine". But if wait for another 20-30 minutes before trying again to download the "same" data table, it works again.
Can any one throw some light on what I might be doing wrong? Do I need to clear some cache storage area before trying again to download the resource.
Call OTA_Connect(tdc,domain, project)
Set resFac=OTA_GetResourceFactory(tdc, resFolPath)
I did a Google search on "QC OTA_Disconnect".
I saw this link.
QC OTA-VB Code to connect to QC and export defects... - HP Enterprise Business Community
The ending part of their example shows this:
I see that you do not have the Logout() part.
Maybe give it a try and see if it makes a difference.
Issue with Re-Downloading resources via OTA
I have tried with the tdc logout,disconnect and release.
Still After that I am facing the same issues again. But, it is working fine If i do it after some time.
Is there any resolution found for the same.? Please, help.!!
Include a function to Check if the file already exist & delete it.
Tags for this Thread