After running a lengthy script that processes lots of modal dialogs and javascript alerts, I get the infamous error, DL::DLError: too many callbacks are defined.
I am running Ruby 1.8.5-21 and Watir 1.5.0.1100 and it has been able to handle modal dialogs and javascript alerts with a modification to watir.rb (added include Win32 stmt after line “module PageContainer”) I reviewed 2 threads on this issue, each with their own modifications to winClicker.rb. The first solution removes return statements from enum procs for getChildHandle and getWindowHandle. The second solution adds DL.remove_callback to winClicker.rb methods with DL.callback calls. Looking at winClicker.rb, I see the 2nd solution implemented for Watir 1.5.0.1100. Is there a validated solution for this problem? --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6594&messageID=18826#18826 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
