[wtr-general] Handle popups that freezes main window.
Hi, I am not able to handle popup that freezes the main window. I tried print command prior and after that popup open code. The first print runs successfully but the second one does not executes. here is the code. puts(before assignment) sleep(4) browser.image(:src, /package_circular/).click sleep(4) puts(before assignment) The first print executes but not the second. How can I handle the popup. Please help... Shabbir -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Handle popups that freezes main window.
On Mon, Sep 10, 2012 at 7:05 AM, Shabhuze shabh...@gmail.com wrote: I am not able to handle popup that freezes the main window. This could help: http://watirwebdriver.com/javascript-dialogs/ Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Thank you for the support. I've tried to downgrade the ffi gem but it still doesn't work. Here's the result: 1.1.5 : not work 1.1.4 : not work 1.1.3 : not work 1.1.2 : not work 1.1.1 : not work 1.1.0 : not work 1.0.11 : not work The previous versions gives me a compilation error... The error was always the same... Thanks, Emanuele Il giorno venerdì 7 settembre 2012 23:49:04 UTC+2, Željko Filipin ha scritto: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com