Bret Suggested:
I think the error message may be misleading. I think the problem may
actually be caused by the use of frames. Can you show us the code that
is failing?
Certainly. Warts and all here it is:
require 'watir'
require 'win32ole'
include Watir
require 'test/unit'
Modal dialogs aren't part of a frame, they're generated and owned by ie, so
this line:
ie2.frame(ContentFrame).modal_dialog.text_field(:id,
'FileUploader').set('C:\Users\Public\Pictures\Sample Pictures\Dock.jpg')
should read:
ie2.modal_dialog.text_field(:id,
Interesting.
I think I have worked out my understanding problems but now I get this
problem. Maybe I need an older rev of Ruby 1.8.2?
Environment
Ruby 1.8.2-15
MS Vista
watir-1.5.1.1166
Error Message
NoMethodError: IE#modal_dialog not supported with the
I think the error message may be misleading. I think the problem may
actually be caused by the use of frames. Can you show us the code that
is failing?
Bret
Michael Kernaghan wrote:
Interesting.
I think I have worked out my understanding problems but now I get this
problem. Maybe I need