MxVDev has two main reports, which are presented in XML format:

The Test Specification

The Regression Report

MxSuite provides standard report formats, plus a set of XML style sheets you can use to customize reports to your own requirements. The Regression Test Wizard provides a variety of options for organizing the Regression Report.

Report Customization

The reports are generated from XML files, and so can be customized by modifying the XSL Style Sheets. They are located in the installation folder. Cascading Style Sheets are located in the subfolder Report\Css. XSL Style Sheets are in the subfolder Report\Xsl.

Note: There are two sets of XSL style sheets. The portait styles are in the Xsl folder; the landscape styles are in the Landscape subfolder. To apply your customization to both styles, modify the style sheets in both folders. There are also two formats: In Frame and without Frames.

Changing the Logo on Your Reports (with Frames)

The XML tag for the MxVDev logo in RegressionHeader.xsl is:

<img border="0" src="{MxVDevReportFile/Report/Images/RelativePath}MxVLogo.png"/>

You can change this tag or add a new tag to use a different logo. We recommend that you create backups of the style sheet files in case you need to revert to the default report format.

Put your new logo file in the Report\Images subfolder inside the installation folder.

If necessary, you can add height and width parameters to size the logo. For example:

<img border="0" src="{MxVDevReportFile/Report/Images/RelativePath}Danlaw_LogoX2.png" height = "119" width = "437" />

Notes:

This logo only appears in the Regression Report when the In Frame checkbox is selected.

To modify files in the installation folder, you must use the editor (Notepad, for example) as an administrator.

Example: Adding a Logo to the Regression Report (without Frames)

Report.RegResults.xml is the top level report page. Xsl\RegResults.xsl is the corresponding XSL style sheet. Add code similar to that highlighted below to RegResults.xsl to add a logo to the top of the Regression Report in the non-frame style. Put your new logo file in the Report\Images subfolder inside the installation folder. Use the height and width parameters to size the logo.

<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="/">

     <html>

        <head>

           <title>MxVDev Regression Report</title>

           <link rel="stylesheet" type="text/css" href="{MxVDevReportFile/Report/Css/RelativePath}Report.css"/>

        </head>

        <body>

        <img border="0" src="{MxVDevReportFile/Report/Images/RelativePath}Danlaw_LogoX2.png" height = "119" width = "437" />

           <table width="1200" class="outline" cellpadding="25px">

Notes:

This logo only appears in the Regression Report when the In Frame checkbox is NOT selected.

To modify files in the installation folder, you must use the editor (Notepad, for example) as an administrator.

Click to expand.

Click to expand.

Related Topics:

Creating a Test Specification Report

Test Specification Overview

Generating a Regression Report

Regression Testing