Hi, I am new to Watir, and we are evaluating Watir as a tool to replace Qtp.
One place I am stuck a little bit is regarding reporting the errors at the end after all the test suites are done. I have looked at various options those are discussed in the Watir community, examples and blogs. i started with Html reports from the examples, tweaked the code to make the interface simpler - but found it to be still not simple enough. Then I looked at Test::Unit. The problem I find with Test::Unit is that the output is in free text format, and consolidating the results is a pain. Please note we are not Agile practionitners. We are looking at Watir as a testing tool for the testers - not for the developers. We do not use BDD, so tools like Cucumber or RSpec probably will not suite us. Also, I found even Rspec gives its output as free text format. I am sure there must be a better simpler way. Probably I am just not able to find any pointers towards it. What I am looking at is a solution that will write the results to a simple excel/csv file. I thought the Test::unit in itself could be extended to do this, when any assertion passes or fails. I thought this must be a simple thing to do, and probably somebody has already done it. I also read in the Test::Unit documentation that Observers can be added to Test::Unit TestResult. Is there any sample implementations of this which will write it to an excel/csv as I mentioned above? Your help will be greatly appreciated. Thanks, Babitha -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
