vthomeschoolmom
6 years agoSuper Contributor
handle file download in browser
I saw some related posts on this topic which refer to the SaveFile method of the Window object. A web app does not have a window object in it. At least mine doesn't. :)
My application under test presents a user with an option to open or save a file to be downloaded. In my test, I want to save it to ... wherever. Obviously, the different brownsers have different dialogs. Object spy does not see the dialog at all.
What is the best way to handle this in a web app in a manner that is useful for all browsers? THANKS!