[Wtr-general] Modal Dialog/Vista -- undefined method `hwnd'
Bret Pettichord
bret at pettichord.com
Thu Jul 5 16:47:14 EDT 2007
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 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 current version
> of Ruby (1.8.2).
>
> See http://jira.openqa.org/browse/WTR-2 for details.
>
> undefined method `hwnd' for #<Watir::Frame:0x30a0580>
>
> c:/ruby182/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:2815:in
> `initialize'
>
> c:/ruby182/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:351:in
> `new'
>
> c:/ruby182/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:351:in
> `modal_dialog'
>
> Michael Kernaghan
>
> Quality Control Tester
>
> Meridian Systems
>
> mkernaghan at meridiansystems.com <mailto:swatkins at meridiansystems.com>
>
> 604-609-0833 #103
>
> * *
>
> *Read what IDC believes to be the key to the success of engineering,
> construction & RE industries. *
>
> IDC Analyst Connection “Integrated Project and Portfolio Management:
> Improving Efficiency, Lowering Risk
>
> for Engineering, Construction and Real Estate Firms” Visit
> www.meridiansystems.com/performance
> <http://www.meridiansystems.com/performance>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list