Class ReportHelper
Helper class to generate other report formats from standard Web Engine report.
Inheritance
Object
ReportHelper
Namespace: AxaFrance.WebEngine.Report
Assembly: AxaFrance.WebEngine.dll
Syntax
public class ReportHelper
Methods
| Edit this page 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 |
String | testname | The name of the test suite |
String | outputPath | The directory where the report should be generated |
Returns
Type | Description |
---|---|
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 |
String | testname | The name of the test suite |
String | outputPath | The directory where the report should be generated. |
Returns
Type | Description |
---|---|
String |
LoadReport(String, out String)
Load WebEngine Report from File
Declaration
public static TestSuiteReport LoadReport(string filename, out string content)
Parameters
Type | Name | Description |
---|---|---|
String | filename | The path of the WebEngine Report file |
String | content | The content in XML of WebEngine Report file |
Returns
Type | Description |
---|---|
TestSuiteReport | The report of type TestSuiteReport |