I copied all the files I needed from here, but when I run that command I get:
undefined method `attach_modal' for #<Watir::IE:0x2c657a8> (NoMethodError).
 
Ive checked the files multiple times, and Im sure I got what you said to.  Is 
there something else I need to do for this to work?
 
>What you are trying to do can't be done with the version of Watir.rb you
>are using because the page you are trying to attach to is a Modal
>window.  Try this one at:
>https://svn.openqa.org/svn/watir/branches/modal_dialog/watir/ (you will
>also need the files from the Watir folder--the IEDialog and Win32ole
>forders.)
>
>Copy the Watir.rb file (and the watir directory mentioned above) into
>you ruby installation directory like:
>C:\ruby\lib\ruby\site_ruby\1.8
>
>ie2 = $ie.attach_modal('Project - Administration')
>
>ie2.button(:value, "Cancel").click
>
>--Mark


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to