Hi all, On using the statement "$ie=FireWatir::Firefox.new" twice, the first one gets executed successfully and the second one gives the below error:-
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ core_ext/module/introspection.rb:70:in `const_get': no such file to load -- safariwatir (MissingSourceFile) from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:70:in `local_constants' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:70:in `each' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:70:in `local_constants' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:68:in `each' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:68:in `local_constants' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/module/introspection.rb:86:in `local_constant_names' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:498:in `new_constants_in' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:495:in `collect' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:495:in `new_constants_in' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:156:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:1022:in `path_from_registry' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:993:in `path_to_bin' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:152:in `launch_browser' from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:128:in `initialize' We removed the Include statement and tried but still the same error gets thrown. What is confusing here is that in case it is a problem with the code, why does it work fine the first time? Please help with any information available. Thanks and Regards, Racheeta Gupta -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe, reply using "remove me" as the subject.