Bill, I thought I'd pick your brain a little on an issue I'm having with this app. I've had no trouble dropping scripts into the suites directory and running them from the railsapp unless the script includes or requires another script. For instance, I have library.rb, which is included by test.rb. For simplicity, let's just say that library consists of "require 'watir'" and test consists of "require 'library'" and "ie = Watir::IE.new". If I run test.rb on my own, it runs successfully. If I run library.rb through the railsapp, it also works fine (0 assertions, etc). However, if I run test.rb through the railsapp, it errors out, stating that gem_original_require has caused an error in custom_require: "no such file to load -- library (LoadError)".
This has me pretty well confused at the moment. Any ideas? Thanks, Adam -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Agee Sent: Tuesday, March 27, 2007 11:40 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] watir execution from webserver Importance: High I posted my zipped rails app as an attachment on the Watir contributions page: http://wiki.openqa.org/display/WTR/Rails+test+runner+example+app In my haste to reply I lost track of the fact that you already had something similar working, except for the issue with the goto method not working (which is now solved). So what you have may actually be a better solution than this app. :) But for what it's worth, the zipfile I posted should be all you need to see my app working, provided that rails is installed too. Please let me know if there are any questions. _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general