My app performs a function that includes exporting some stuff to a file. I am looking for a mechanism to save the file to the local user's disc and then get to it. I have no problem with file I/O in code. But I am looking for direction on how to get at the file. When I fiddle around with the export functionality in question, in IE, I get a what do you want to do with this file dialog which I could drive with Ranorex. But in Chrome, the file is added to a footer s[ace at the bottom of the browser window. I don't remember what other browsers do.
I am looking for any direction on how one would get a handle on files created by and download from a web app. Thoughts? Thanks.
browser independant download in web app
Re: browser independant download in web app
Hi,
In my opinion, there is no GUI-based and browser independent way to download a file from web. The problem is, that each browser implements its own way of downloading files. But it should be possible to download a file (if you know its address) via code (with web requests). Check for example this post...
https://stackoverflow.com/questions/141 ... om-a-web-s
In my opinion, there is no GUI-based and browser independent way to download a file from web. The problem is, that each browser implements its own way of downloading files. But it should be possible to download a file (if you know its address) via code (with web requests). Check for example this post...
https://stackoverflow.com/questions/141 ... om-a-web-s
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration