Hi,
this has been discussed but the solutions don't work for me.
The story:
I want to test an application that uses JS-Alerts to communicate errors. I
found a code snippet that should solve this, but instead I get always this
exception:
WIN32OLERuntimeError: hwnd
OLE error code:80004005 in <Unknown>
<No Description>
HRESULT error code:0x80020009
Ausnahmefehler aufgetreten.
C:/Programme/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1121/./watir.rb:1514:in
`method_missing'
C:/Programme/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1121/./watir.rb:1514:in
`hwnd'
C:/Programme/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1121/./watir.rb:2205:in
`attach_command'
C:/Programme/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1121/./watir.rb:1222:in
`eval_in_spawned_process'
C:/Programme/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1121/./watir.rb:2440:in
`click_no_wait'
I debugged watir.rb to the method "hwnd" (around line 1510) and in there to the
method call "@ie.hwnd" which (to me) causes the exception.
Is it possible that this method is missing from win32ole.so?
Any help would be highly appreciated!
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5137&messageID=14251#14251
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general