At 03:23 PM 8/18/2005, Warren Pollans wrote:
How can I figure out (debug) what this complaint is about:WIN32OLERuntimeError: focus OLE error code:8000FFFF in htmlfile Unexpected call to method or property access. HRESULT error code:0x80020009 Exception occurred. c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3399:in `method_missing' c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3399:in `set' Where can I find what the error codes mean? ++++++++++++++++++++++++++++++++++++++++++++++++++++ I have defined an instance variable: @s_fld = $ie.test_field(:name, xxx) zzz = "some text" and then called @s_fld.set(zzz)
try this instead and tell us what happens: $ie.text_field(:name, xxx).set(zzz)
The error is generated from this "set" statement. To get to this point in the watir code, it's already verified that @s_fld exists, is enabled and is not read only - it seems to be unable set the focus Help please :-) Thanks, Warren _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
_____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
