Class ReportHelper
Helper class to generate other report formats from standard Web Engine report.
Inheritance
System.Object
ReportHelper
Namespace: AxaFrance.WebEngine.Report
Assembly: AxaFrance.WebEngine.dll
Syntax
public class ReportHelper
Methods
| Improve this Doc View SourceGenerateHtmlReport(TestSuiteReport, String, String)
Generates HTML report from standard WebEngine report
Declaration
public static string GenerateHtmlReport(TestSuiteReport report, string testname, string outputPath)
Parameters
Type | Name | Description |
---|---|---|
TestSuiteReport | report | WebEngine report |
System.String | testname | The name of the test suite |
System.String | outputPath | The directory where the report should be generated |
Returns
Type | Description |
---|---|
System.String |
GenerateJUnitReport(TestSuiteReport, String, String)
Generates JUnit test result format from standard WebEngine report
Declaration
public static string GenerateJUnitReport(TestSuiteReport report, string testname, string outputPath)
Parameters
Type | Name | Description |
---|---|---|
TestSuiteReport | report | WebEngine report |
System.String | testname | The name of the test suite |
System.String | outputPath | The directory where the report should be generated. |
Returns
Type | Description |
---|---|
System.String |
LoadReport(String, out String)
Load WebEngine Report from File
Declaration
public static TestSuiteReport LoadReport(string filename, out string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | The path of the WebEngine Report file |
System.String | content | The content in XML of WebEngine Report file |
Returns
Type | Description |
---|---|
TestSuiteReport | The report of type TestSuiteReport |