|
QEngine generates tabular and html reports for Web test by default. Web reports can be customized by writing a user class that implements the interface
WebClientReporterInterface.
This example illustrates the com.adventnet.qengine.web.report.WebClientReporterInterface implementation which generates the customized Web reports.
|
public class WebClientReportWriter implements WebClientReporterInterface { public void writeReport(Vector reportVec) { ............. ............. } } |
Place the Java file under <QEngine home>/projects/ <suite name>/usersrc directory.
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.
|