views:

152

answers:

2

Hi everyone !

Does anyone know if there is any tool or a way to apply automated unit testing in report studio and/or framework manager ?

When some regression tests are required and I need to run report by report, on the traditional way, it really bothers me.

Best regards,

Evandro

A: 

One possibility is to use Selenium to test the HTML output of your reports. Selenium is non-trivial to set up but it is fairly widely known/used/supported.

wikipedia article on Selenium

rossdavidh
A: 

There are no tools in the standard "out-of-the-box" configuration to do anything automated in Cognos 8 (it seems). However, in theory the Cognos 8 SDK could be leveraged to write and run automated unit tests for reports, using something like JUnit. Also, if you are mainly testing how changes to your database affect the result sets of the reports/queries, you could extract the SQL from each report and run automated tests separate from the Cognos environment.

Jamey