COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: cogcurious on 18 Sep 2011 12:15:39 PM

Title: Unit/System Test Cases
Post by: cogcurious on 18 Sep 2011 12:15:39 PM
I need to write Unit and System test cases for reports. Can you suggest pointers for the both
Title: Re: Unit/System Test Cases
Post by: cogcurious on 21 Sep 2011 02:51:12 PM
Anyone? I wish to go beyond formatting on this
Title: Re: Unit/System Test Cases
Post by: Arpitagrawal9 on 22 Sep 2011 01:15:00 AM
What kind of report you need to test can you please give in the details
Title: Re: Unit/System Test Cases
Post by: cogcurious on 22 Sep 2011 03:54:56 AM
Multi page multi prompt dimensional report. Each page has multiple grids
Title: Re: Unit/System Test Cases
Post by: Arpitagrawal9 on 22 Sep 2011 04:05:09 AM
So your unit test cased would include data and functionality testing both right?
Title: Re: Unit/System Test Cases
Post by: Arpitagrawal9 on 22 Sep 2011 04:21:19 AM
There can be few test that can be done for data testing and few test which can be used for functionality testing


Data testing
Run the report and get the data and Run the SQL against the database finally you can Compare the two results.There should be 100% match in the data

Functionality testing

Check for Default Run of the report
Links and drills on Report
Validate Prompt results
Column Heading allignment (left for attributes, center for metrics)      
Column Values allignment (left for attributes, center for metrics)      
Column Values data format (decimal places, currency, date etc)      
Column Order (match with current reports if available)      
Prompts sorting - asending for start, descending for end      
Export to Excel
Report Vs Excel Values
Drilling/Toggling
No data found scenario
No of Rows
Browser Compatibility
Performance of Report
Check if Thresholds/ Conditional Formatting is correctly applied.