Did you edit the test_suite.rb as instructed by Tony?
On Fri, Jul 24, 2009 at 3:08 PM, pallavi shashidhar<pals.sha...@gmail.com> wrote: > Hi there, > I have replaced the test_suite.rb with the new one and have done a - require > 'ci/reporter/test_suite' > here's the code > > require 'watir' > require 'ci/reporter/test_suite.rb' > > class TC_TEST_suite < Test::Unit::TestCase > def test_a_search > test_site = "http://www.google.com" > browser = Watir::Browser.new > browser.goto test_site > browser.text_field(:name, "q").set "pickaxe" > browser.button(:name, "btnG").click > end > end > > > When i run the testcase, I am getting this error: > > c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.5.2/lib/ci/reporter/test_suite.rb:211:in > `write_newreport_allsuites': private method `gsub' called for nil:NilClass > (NoMethodError) > from > c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.5.2/lib/ci/reporter/test_suite.rb:337:in > `start_test' > from > c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.5.2/lib/ci/reporter/test_suite.rb:278:in > `test_started' > from > c:/ruby/lib/ruby/gems/1.8/gems/ci_reporter-1.5.2/lib/ci/reporter/test_suite.rb:54:in > `to_proc' > from c:/ruby/lib/ruby/1.8/test/unit/util/observable.rb:78:in `call' > from c:/ruby/lib/ruby/1.8/test/unit/util/observable.rb:78:in > `notify_listeners' > from c:/ruby/lib/ruby/1.8/test/unit/util/observable.rb:78:in `each' > from c:/ruby/lib/ruby/1.8/test/unit/util/observable.rb:78:in > `notify_listeners' > from c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:47:in > `run_suite' > ... 11 levels... > from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > > On Fri, Jul 24, 2009 at 10:42 AM, Marlon Mojares <marlonmoja...@gmail.com> > wrote: >> >> Yeah its working now this is a good start. >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---