Using the base ci_reporter install, the report_manager.rb file has an variable called @basename, which gets the suite name added onto it in the File.open call in write_report. To add date/time to this just add Time.now.strftime("put your time formatting here") to the end of the string in the File.open call.
It should look something like this: http://pastie.org/601390 -Dylan On Aug 31, 9:47 pm, Marlon <marlonmoja...@gmail.com> wrote: > Hi, how can I rename the filename of the xml created by ci_reporter? I > need a repository and store the test results generated. ex. TEST- > <Class Name><Date/Time>.xml. Which part of the ci_reporter does the > filenaming/file creation? > > Please help > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---