Brett,

 

Sorry my bad on matching the id it *was my mistake* in the regular _expression_.   I am however still seeing the missing IE.busy method.  But the tests seem to be working ok.

3 tests, 0 assertions, 0 failures, 0 errors

-e:1: C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:1479:in `method_missing': busy (WIN32OLERuntimeError)

    OLE error code:80004005 in <Unknown>

      <No Description>

    HRESULT error code:0x80020009

      Exception occurred.     from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:1479:in `wait'

      from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:2282:in `click'

      from (eval):1

-Linda  

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Linda Derezinski
Sent: Thursday, March 30, 2006 1:28 PM
To: [email protected]
Subject: Re: [Wtr-general] version 945 Frame div and click

 

Brett,

I’m in the process of changing our code to use xpath.  But right now xpath doesn’t handle frames.  So I’m kind of stuck here.

 

Is there a way to get the information displayed by show_all_objects from a frame now?

 

I didn’t see the method_missing busy part since it was pretty far down, perhaps that is the real issue. I don’t see an IE.busy defined.

 

BTW I checked the following unit tests work fine on my system: frame_test.rb, buttons_test.rb, buttons_xpath_test.rb

 

test_02_chat_with_user(Chat::TC_chat_test):

Watir::Exception::UnknownObjectException: Unable to locate object, using id and myID

    C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:2136:in `assert_exists'

    C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:2277:in `click'

    C:/workspace/vFit/chat_test.rb:41:in `chat_with_user'

    C:/workspace/vFit/test/TC_chat_test.rb:29:in `test_02_chat_with_user'

 

3 tests, 0 assertions, 0 failures, 1 errors

-e:1: C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:1479:in `method_missing': busy (WIN32OLERuntimeError)

    OLE error code:80004005 in <Unknown>

      <No Description>

    HRESULT error code:0x80020009

      Exception occurred.     from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:1479:in `wait'

      from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.945/./watir.rb:2282:in `click'

      from (eval):1

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Thursday, March 30, 2006 12:26 PM
To: [email protected]
Subject: Re: [Wtr-general] version 945 Frame div and click

 

Can you give us a full error message and stack trace?

I think this is separate from the div click_no_wait problem.

Bret

On 3/30/06, Linda Derezinski <[EMAIL PROTECTED]> wrote:

Hello,

 

I just upgraded from 1.4.1 to 1.5.0.945

I'm having problem with this line of code: @ie2.frame("main").frame("mid").div(:id,"myID").click

 

When I run this code from the 1.4.1 environment it works

In the 1.5.0.945 I get "unable to locate object using id …

 

Is this the same issue as click_no_wait_divs ??

 

Since frame no longer has ie any suggestions on debugging this?

 

-Linda


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

 

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

Reply via email to