After the submit that initiates the download, try calling saveAs(File) to write the download to a file.
You might have to call gotoPage() afterwards to get back to your last browser HTML page. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roham-Pour, Ramin Sent: Thursday, February 21, 2008 10:27 AM To: [email protected] Subject: [JWebUnit-users] receiving download Hi! The application I'm testing starts a download at after a submit, which just results in a download dialog to save the file and it won't be displayed. How can I receive this download to save the file or at least assert that the download was initiated by the server? Regards Ramin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
