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 |