Forum Discussion
I will check it out. Thanks!
No love.
Sub Test Dim strFileURL, strHDLocation, objHTTP, objADOStream, objFSO ' Specify the names of the source and destination files strFileURL = "http://www.automatedqa.com/file to get" strHDLocation = "c:\temp\filename"
I am looking for means to handle the USER INTEFACE within the browser.
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
I see. In this case, you will need to work with the Browser's dialogs. I'm not sure if TestComplete has access to them. Usually, browsers blocks iteration with their own dialogs. UI Automation or MSAA would help. However, as far as I remember they are in the Desktop module.
- RUDOLF_BOTHMA6 years agoCommunity Hero
Is it critical to work with the user interface or is it simply that the popup is getting in the way of your download ?
If it's the second option, you could (this is IE only, but could be modified for chrome etc..) change the Default download path for the browser to one you know. Downloads folder will work fine as well I guess. Secondly, get rid of the confirmation box that gets displayed when you try and download. Now you won't get prompted and the file will just show up in your downloads folder. In everyday use, this is dangerous. In a controlled environment, it's fine.
Something like:
https://jwcooney.com/2014/03/31/remove-internet-explorer-open-or-save-popup/
Disclaimer: I haven't tried or read the article in-depth. Just suggesting a potential alternative approach
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Related Content
- 10 months ago
Recent Discussions
- 4 hours ago