Forum Discussion

tilo_stavenhage's avatar
tilo_stavenhage
New Contributor
11 years ago

Problems with https file download

TC9 / BCB2007 / Indy




Hi,


during the application test with TC i initiate a file download via https query. After this query the application freeze  and the filedownload (4kb in background) ends 3-4 minutes!!! later.


If i use http or start the application without testcomplete the download need only seconds.


 


Is there any solution, maybe a testcomplete option?


 


Thanks


Tilo 

3 Replies


  • Hi Tilo,


     


    Could you please explain how you start downloading the file in TestComplete? 


     


  • Hi Tanya,


    the application initiate the https filetransfer. This is one point at our test protocol. Only during this test the appliaction freeze some moments and return after some minutes with a result. The file download is a simple post https message and write a stream during the download of the 4kb file. Without testcomplete it passes in 5 seconds. 


     


    Best regards


    Tilo


  • Hi Tilo,


     


    I would suggest that you use the Runner.CallObjectMethodAsync method to initiate the download process during the test. This allows you to continue executing the test and check the download a bit later in your test. Please refer to the "Calling Methods Asynchronously" article for details.