Bret Pettichord wrote: > Depending on what the rest of your code looks like, this might work, though: > > require 'watir' > require 'test/unit' > > class Login < Test::Unit::TestCase > > def setup > @site=$site > @user_name=$user_name > @passwd=$passwd > end > end > I ran into same problem and it worked. I had one question though? setup and teardown is called for every test in given test class. I don't understand the reasoning behind this usage model. The second thing, if I want to run more than one test case after setting the system in particular state, how can I achieve that?
Thanks and Regards, Manish _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
