Hello Piyush Bhatt,
Perhaps the report viewer project references the correct assemblies which allow the report to retrieve its data. The unit test project, on the other hand, might not reference the required assemblies and the data cannot be retrieved there.
Since you do not need to create any unit tests for Telerik Reporting modules, you can only retrieve the data and check that it is correct in your unit test project i.e., test only the GetData() method. Testing that Telerik Reporting produces correct report output based on given input data is done on our end.
Regards,
Nasko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Feedback Portal and vote to affect the priority of the items