[Wtr-general] Error when trying to attach to a modal window.

Bret Pettichord bret at pettichord.com
Mon Oct 30 11:30:27 EST 2006


Leon.Ouretski at au.ey.com wrote:
> I am getting the following error when trying to attach to a modal 
> window (modal = ie.modal_dialog):
>
>         NoMethodError: undefined method `connect_unknown' for 
> WIN32OLE:Class
>
> Any ideas?

Watir 1.5 comes bundled with a modified version of WIN32OLE. This error 
indicates that it is not being used. It is required for modal dialog 
support.

I don't know why it isn't being loaded for you. What version of Ruby are 
you using? Have you made modifications to Watir? Did you install it 
manually?

Bret


More information about the Wtr-general mailing list