Forum Discussion

BFeher's avatar
14 years ago

Project Report displaying both project and test case descrip

Hello Everyone!

This being my first post, I apologize in advance if I broke any forum rules. I searched the forums for a solution first but couldn't find anything.

I am having a problem generating a project report in soapUI Pro that includes both the project and test case descriptions. I tried editing the jrxml file to support the addition of the test case description but haven't found a solution yet. I added in the following subreport from the TestSuite Report into Project Report but I wasn't sure what to put for "dataSourceExpression". How can I find the naming conventions for dataSourceExpression?

<subreport>
<reportElement positionType="Float" isPrintRepeatedValues="false" x="0" y="63" width="535" height="30" isRemoveLineWhenBlank="true">
<printWhenExpression>$P{IncludeOverview}</printWhenExpression>
</reportElement>
<subreportParameter name="IncludeOverview">
<subreportParameterExpression>$P{IncludeOverview}</subreportParameterExpression>
</subreportParameter>
<subreportParameter name="Type">
<subreportParameterExpression>"TestCase"</subreportParameterExpression>
</subreportParameter>
<subreportParameter name="IncludeResults">
<subreportParameterExpression>$P{IncludeResults}</subreportParameterExpression>
</subreportParameter>
<subreportParameter name="FlowLayout">
<subreportParameterExpression>$P{FlowLayout}</subreportParameterExpression>
</subreportParameter>
<subreportParameter name="ErrorDetails">
<subreportParameterExpression>$P{ErrorDetails}</subreportParameterExpression>
</subreportParameter>
<dataSourceExpression>$P{TestSuiteTestCases}</dataSourceExpression>
<subreportExpression class="java.lang.String">"subreport:ModelItemListReport"</subreportExpression>
</subreport>

Am I attacking this problem correctly? Thank you for looking.