PDA

View Full Version : Including custom step parameters in XML log


12-19-2007, 04:56 PM
Is there an easy way to add a custom parameter to a Step that will be saved to the XML log and then included in the HTML report?

I'm trying to figure out how to associate developers with the projects their responsible for.

The default TransformLog.xslt displays the step name using this value:
<td><xsl:value-of select="name"/></td>

Can I associate a value with each step then modify the TransformLog.xslt to include it something like this:
<td><xsl:value-of select="name"/><xsl:value-of select="developer"/></td>

I've thought about appending the Developers initials to the step name and including the Developers name in the output portion of the HTML report, but my boss doesn't like either of those solutions.

Any help would be greatly appreciated. Thanks.

kinook
12-19-2007, 06:28 PM
You could append a custom element to the XML log file in one of the step script events and then tweak the XSLT file to use that element as desired.

This thread shows another possible approach: http://www.kinook.com/Forum/showthread.php?threadid=247