Forum Discussion
hlalumiere
13 years agoRegular Contributor
I don't quite understand this. From your page, you can get the link to the file and use the MSXML2.XMLHTTP object to download the file without using browsers. Here is the example from our How To section: Download a file from the Internet
No I cannot, as the download is a dynamically generated file. The file does not exist until I click the link. When I do click the link, the ASP page generates the file then PUSHes the file to the client. The server initiates the download, not the client.
But anyways this is a non issue now, I check if the downloaded file exists (or if the .part file does not, in the case of Chrome and IE).
The main issue I have now is that Chrome 22.0.1229.94 is being a big PITA under TestComplete 9.10. Originally everything seems to get detected properly, the extension is installed and all. But then the Browser.ToUrl method does not work, and after I try it the Chrome extension just stops working. It is still listed as installed and enabled, but whenever I try the object spy a balooon pops up in Chrome saying "TestComplete Chrome extension is not installed or is disabled". The extension IS installed, and according to chrome IS enabled (the chrome task manager lists it as running in one of its 3 processes), but TestComplete does not recognize it, and will not until I manually remove and reinstall the extension. At which point object spy works again, but again I cannot navigate to any page, and after trying to I have to again reinstall the extension...
I am going to try other older versions and see if I can get it to work.
As a sidenote, don't you think it's a bit impractical to have to have a different extension for every Chrome version? Google pushes out a new Chrome every 2 days, yet you have a hard time releasing one update per year. Please start releasing Chrome extensions independantly from TestComplete and more regularily.