Can you show us this code?

C:/ruby/qa_scripts/OMS/testOrderAck.rb:41

Bret



LaurenL wrote:
> About two weeks ago I stopped being able to run all watir scripts on
> my machine.  I have not updated or changed anything.  The same scripts
> run on a different computer, so I know its not the script.  I was
> wondering if anyone had any ideas on what I could try.
>
> The IE6 browser opens but crashes as soon as the script calls the url.
> This is the error I'm receiving.
>
> C:\ruby\qa_scripts\OMS>testOrderAck.rb
> Beginning of test: OrderAck.
>  Step 1: go to the site:
>  Step 2: Go to OrderAck.jsp .
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 447:in `method_
> missing': unknown property or method `document' (WIN32OLERuntimeError)
>     HRESULT error code:0x800706ba
>       The RPC server is unavailable.    from c:/ruby/lib/ruby/gems/1.8/
> gems/wati
> r-1.6.2/lib/watir/ie-class.rb:447:in `document'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> locator.rb:31:
> in `each_element'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> locator.rb:38:
> in `locate'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> container.rb:7
> 49:in `locate_tagged_element'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> link.rb:24:in
> `locate'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:49:
> in `assert_exists'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:284
> :in `enabled?'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:56:
> in `assert_enabled'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:229
> :in `click!'
>         from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:215
> :in `click'
>         from C:/ruby/qa_scripts/OMS/testOrderAck.rb:41
>
> Thanks.
> ~L
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to