How can we do the unit testing?

Answers were Sorted based on User's Feedback



How can we do the unit testing?..

Answer / kranthi

Run the query against the database, then compare this
result with the original report o/p of cognos. If both the
results having equal number of records and same records,
then testing is OK.

Is This Answer Correct ?    11 Yes 0 No

How can we do the unit testing?..

Answer / rao

Unit testing is something that a report developer does from
his end before the report is passed on to UAT. Generally
TOAD is used to write SQL to validate the report. In my
case, I have used TOAD to do the unit testing.
If you don't have TOAD, I am not really sure if there is
any other to do it.

Thanks

Is This Answer Correct ?    2 Yes 2 No

How can we do the unit testing?..

Answer / jesse wolfe

Run the query with the type=XML parameter, then use XPath to
find the expected data rows and write specific asserts
against expected values. COuld do it in say VisualStudio or
any tool were you can validate against XML. Ideally, you can
jsut compare the entire document with what you were
expecting, though some items may throw you off.

We're even going to do TDD with cognos using this strategy.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Cognos Interview Questions

Column level security in report

4 Answers  


how you burst the reports? If you are bursted reports is not reached to destination how you identify?when you import data into catalog you have complex columns names.how do you change the name of those columns?

0 Answers   IBM,


What is snapshot ?

4 Answers   IBM, TCS,


1. Can we import the cube into FWM? If yes how & what is the necessity to import it? 2. What is the use of TABULAR OBJECTS? Repeated Question

2 Answers  


What condition do we use in Cognos when multiple path exits to reach the fact table.(i.e in BOXI we use CONTEXT when multiple path exit)

0 Answers  






What is the difference between a cascading report and drill through report?

0 Answers  


What are the advantages and disadvantages of using Transformer cube?

1 Answers   TCS,


------------------What is Focalpoint?

1 Answers  


Where in report Studio's property pane can I find NoDataHandler?

1 Answers  


how to develop dynamic dashboards, and what is the difference between static and dyanmic dashboards in report studion and need with example. plz mail me on this email id vasucognos4@gmail.com

0 Answers   NEC,


what is boxtype

1 Answers   IBM,


Hi Techies, Need your help for achieving this requirement. We have got a requirement to display a report in a page which should diplay max 20 rows but if a report is having totally 17 rows then in the 1st page it has to display 15 rows(divisible by 5) and the other two rows should appear in the next page. Similarly, If a report is having 23 records then in the first page it should display 20 (divisible by 5) and on other page it should display 3 rows. Please advice!

1 Answers   Wipro,


Categories