Forum Discussion

chriscropley's avatar
chriscropley
Occasional Contributor
7 years ago

Has anyone created a sub report with 2 data sources?

Essentially what I am trying to do is use the existing Test Case Report which shows everything I need.  The one small problem is the Test Case properties which are displayed inside this report only shows the last properties which were created and stored in my Test Case.  

 

My test case has a data source loop and each iteration will modify the Test Case properties that are used in my REST call.  If  for example iteration 5 has a failure I would like to see what properties were used in that REST call for debugging purposes and to add to my defect report.

 

So my thinking was to modify the existing TestStepResults sub report to try to display the Test Case properties above the Test Step results.

 

Has anyone done this or is that possible?  Maybe there a more clever way to do it?

1 Reply

  • NDyukov's avatar
    NDyukov
    Occasional Contributor

    I also have a question about using reports. What type does DataSource have - TestStepResults for the TestStepResultsReport report? must be WsdlTestStepResult, but where did the $ F {started} field come from?