Re: [Watin-users] popup window disappears quickly
Brought to you by:
jvmenen
From: Thomas B. <tho...@ho...> - 2010-08-31 10:24:04
|
Not optimal, but should work fine: Put a Thread.Sleep() with few seconds after the click, so that the FileDownloadHandler will be able to manage it. HTH, Thomas Date: Tue, 31 Aug 2010 09:57:19 +0800 From: la...@vi... To: wat...@li... Subject: [Watin-users] popup window disappears quickly Hi All, I am close to finish my current WatiN automation for a web report page. However when the "export" link is clicked, the download popup window comes and then disappears very quickly. The "FileDownloadHandler" can not catch it. This doesn't happen when I click it manually which allows me to choose from several buttons and inputs a file name/path for saving it. Did anyone ever met the same issue? I found following link to solve the similar issue on QTP. http://labs.episerver.com/en/Blogs/LN/Dates/112233/112234/IE-popup-window-disappears-while-QTP-Script-Execution/ Cheers, Frank ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Watin-users mailing list Wat...@li... https://lists.sourceforge.net/lists/listinfo/watin-users |