At 05:07 PM 8/18/2005, Warren Pollans wrote:
That works - but why doesn't the other work?
The object reference you stored becomes stale when a page loads or reloads. The same thing will happen to the value= method.
I've temporarily bypassed this particular problem by using the value= method - just so I can get on with writing the test On or about Thu, 18 Aug 2005 16:13:38 -0500 Bret Pettichord <[EMAIL PROTECTED]> allegedly wrote: > 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) > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general