try the firewatir unit test to see if their stuff runs.  Did you
install the jssh for your version of firefox?

On Jun 8, 4:20 pm, George <george.sand...@gmail.com> wrote:
> Hello,
>
> I had to get a new hard drive and reinstall Ruby and Watir.  I'm
> pretty sure everything is set up...however, I'm getting a weird error
> when I attempt to open a Firefox browser.
>
> The code:
> ***********************************
> require 'watir'
> Watir::Browser.default = 'firefox'
> $browser = Watir::Browser.new
> ***********************************
>
> The error:
> ***********************************
> C:/Ruby/lib/ruby/1.8/win32/registry.rb:528:in `open': The system
> cannot find the file specified. (Win32::Registry::Error)
>         from C:/Ruby/lib/ruby/1.8/win32/registry.rb:608:in `open'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
> firefox.rb:141:in `initialize'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
> browser.rb:65:in `new'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
> browser.rb:65:in `new'
>         from test2.rb:3
>
> Any help would be most appreciated, thanks!
--~--~---------~--~----~------------~-------~--~----~
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