Hi Niels,

This is actually pretty simple to accomplish.  The way the 
WebTestReportOverview is generated requires you to not only modiy 
WebTestReportOverview.xsl, but also WebTestReportSummaryExtractor.xsl.

We don't pull all test info onto the Overview report, but we do pull specific 
test info labeled tags.  Hopefully this example will give you a starting point 
for your own modification.

In WebTestReportSummaryExtractor.xsl, we added the following to pull the info 
out of the "tags" test info type:

<xsl:variable name="tags" select=".//st...@taskname = 
'testInfo']/paramet...@name = 'type' and @value = 'tags']/../paramet...@name = 
'info']/@value" />
<summary
successful="{...@successful}"
name="{...@testspecname}"
duration="{$duration.total}"
tags="{$tags}"
starttime="{...@starttime}">

In WebTestReportOverview.xsl, we added the following:

<xsl:template match="summary" mode="summary">
        <tr>
            <td class="light" align="right">
                <xsl:number count="folder"/>
            </td>
            <td class="light" align="center">
                <xsl:apply-templates select="." mode="successIndicator"/>
            </td>
            <td class="light" nowrap="nowrap">
                <a href="{../@name}/WebTestReport.html">
                    <xsl:value-of select="@name"/>
                </a>
                <p style="margin-top: 0px; margin-bottom: 0px; font-size: 
x-small"><b>tags: </b><span name="tags"><xsl:value-of 
select="@tags"/></span></p>
            </td>

Good luck,

John Spann

Software Engineer
Citrix Online | 6500 Hollister Avenue | Goleta, CA 93117
T: +1 805 690 3489 | M: +1 805 729 0008
[email protected]<x-msg://29/[email protected]>
http://www.citrixonline.com<http://www.citrixonline.com/>


[cid:[email protected]]



Access Your PC From Anywhere: www.gotomypc.com<http://www.gotomypc.com/>
Online Meetings Made Easy: www.gotomeeting.com<http://www.gotomeeting.com/>
Remote Support Made Easy: www.gotoassist.com<http://www.gotoassist.com/>
Web Events Made Easy: www.gotowebinar.com<http://www.gotowebinar.com/>





On Oct 9, 2009, at 5:25 AM, Niels Stevens wrote:

VAN: Niels Stevens
Verzonden: vrijdag 9 oktober 2009 13:51
Aan: '[email protected]<mailto:'[email protected]>'
Onderwerp: Displaying testinfo in webtest report overview instead of webtest 
report

Hi,

I’m trying to get the info from the testinfo tags to display on the overview 
page under every test. I tried just moving the testinfo-segment from 
WebTestReport.xsl to WebTestReportOverview.xsl, but that doesn’t work. I don’t 
know anything about xslt, so any help would be appreciated.




<<inline: image001.png>>

Reply via email to