hlalumiere
13 years agoRegular Contributor
Web testing downloads under Google Chrome...
So I have a web application I need to test downloads of. I can initiate the downloads fine under all browsers, but how do I check for completion? Out of the three browsers only the Firefox downloads window can be reliably addressed by TestComplete. In IE9 I can address the downloads bar once in a while through MSAA, and in Chrome I cannot see it in the object browser at all. And even then, I cannot figure out how to read the status of the download in any of the three browsers...
It seems like my only alternative is to start the download, wait an arbitrary amount of time, and hope that the download is finished when I open the file?
Note that I cannot download the file manually through WGET or whatever as this is an ASP.Net page that creates the file to download dynamically.
Am I just out of luck here? Don't IE, Firefox, and Chrome expose some event that their addons can hook into?
It seems like my only alternative is to start the download, wait an arbitrary amount of time, and hope that the download is finished when I open the file?
Note that I cannot download the file manually through WGET or whatever as this is an ASP.Net page that creates the file to download dynamically.
Am I just out of luck here? Don't IE, Firefox, and Chrome expose some event that their addons can hook into?