I apologize, seems to have been resolved by simply updating RDT.

 

 

 

-----Original Message-----
From: Mike Townley
Sent:
Monday, May 15, 2006 5:44 PM
To: '[email protected]'
Subject: Watir, RDT/Eclipse and Debugging

 

Hello all,

 

I am currently working with Watir version 1.41 with Ruby 1.8.2. I set up some break points in my automation script that I have in  Eclipse 3.1.1 with RDT installed. When I run ‘debug as ruby app’ it gives me the following error that prevents me from debugging any further:

 

Ruby Thread - 1 (WIN32OLERuntimeError occurred :Unknown property or method `name'     HRESULT error code:0x80020006       Unknown name.)

            c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:813

            c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3082

            c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:304

            ….<snip the trace>

 

the issue seems to be in the method getObject() in water.rb

 

here is a code snippet of the area the issue shows up in:

 

begin

                        case how

                        when :id

                            attribute = object.invoke("id")

                        when :name

                            attribute = object.invoke("name") ß this seems to be the problem line here

                        when :value

                            attribute = object.value

                            …<snip>

 

 

If anyone else seems to run into this issue with debugging water/ruby in eclipse, please let me know if you have any solutions.

 

Thanks!

Mike

[EMAIL PROTECTED]

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

Reply via email to