I've noticed that my tests will fail sometimes because Firefox takes too long to load. For example, I just went to launch a test for the first time this day, and I received this error:
1) Error: test_08_visiting_direct_links_goes_to_login (TC_EWWC_StandardBasics_Login_FireFox): Watir::Exception::UnableToStartJSShException: Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox is running with '-jssh' option C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:271:in `set_defaults' C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/ firefox.rb:161:in `initialize' C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/ browser.rb:65:in `new' ewwc-standardbasics-login.rb:16:in `setup' 2) Error: test_08_visiting_direct_links_goes_to_login (TC_EWWC_StandardBasics_Login_FireFox): NoMethodError: undefined method `close' for nil:NilClass ewwc-standardbasics-login.rb:23:in `teardown' Other times, I get that "nil:NilClass" error if the browser somehow doesn't respond. This is especially a problem if Firefox has to run an update check, although I can just turn that off in the Firefox options. Has anyone else seen this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---