>can you post your test script? it would help to diagnose your problem.

 

# Simple test harness

 

require 'watir'

require 'watir/testcase'

#require 'test/unit'

 

#$LOAD_PATH << '..' if $0 == __FILE__

$LOAD_PATH << './Tests'

 

 

class TestSuite < Watir::TestCase

            File.open(ARGV[0]).each_line do |entry|

               code = lambda{load "#{entry.strip}.rb" }

               self.send(:define_method, entry.strip, code)#{load
"#{entry.strip}.rb" }#puts "#{entry.strip}"

                        #self.send(:public, entry.strip.to_sym )

            end

end

 

if $0 == __FILE__

  require 'test/unit/ui/console/testrunner'

  Test::Unit::UI::Console::TestRunner.run(TestSuite)

End

 

Done, the only change I've made from the previously working version is
that this should take command line arguments.

I don't believe this has anything to do with my script at all, but
something to do with the environment it's running under.

Ruby 1.8.6 watir 1.5 - I did have all this working some time ago. The
only real updates have been the Ruby and WATiR versions.

 

  

Max Russell
Test Analyst
INPS

Tel:       01382564346
Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to