Customizing Web Reports

 

Overview

 

QEngine by default generates tabular and html reports for Web test. Web reports can be customized by writing a user class that implements the interface

WebClientReporterInterface.

 

Description

 

This example illustrates the com.adventnet.qengine.web.report.WebClientReporterInterface implementation which generates the customized Web reports.

 

Code Snippet

 

public class WebClientReportWriter implements WebClientReporterInterface

{

public void writeReport(Vector reportVec)

{

.............

.............

}

}

Configuring Web Report Format

 

Once you have written the user class to customize the WebTest report, you need to configure the user class name in Reports.xml file in <QEngine_Home>/projects/<Suite_Name>/conf directory as shown below.

 

<WebClient_Report>

<Class

 name="com.adventnet.qengine.web.report.WebClientReportWriter"/>

</WebClient_Report>

 

In the above entry, com.adventnet.qengine.web.report.WebClientReportWriter is the default user class name.

 



Copyright © 1999, AdventNet Inc. All Rights Reserved.