I just removed the require 'ClassAttr.rb' line and copy-pasted the ClassAttr code into the top of Tony's modified reporter file.
-Dylan On Jul 22, 8:11 pm, Marlon Mojares <marlonmoja...@gmail.com> wrote: > Hi, I'm still encountering "no such file to load -- ClassAttr > (LoadError)" where should I put the file ClassAttr.rb? I put it inside > ci_reporter\lib\ci\reporter but the script was unable to find the > file. > > This is my test script: > > require 'watir' > require 'ci/reporter/rake/test_unit_loader.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 > > is this correct? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---