Class TestCaseReport
Test report for a single test case
Inheritance
Namespace: AxaFrance.WebEngine.Report
Assembly: AxaFrance.WebEngine.dll
Syntax
[Serializable]
public class TestCaseReport
Properties
| Improve this Doc View SourceActionReports
The result of the test steps
Declaration
public List<ActionReport> ActionReports { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ActionReport> |
AttachedData
Declaration
public List<AdditionalData> AttachedData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AdditionalData> |
ContextValues
Contexte variables genereted during the test execution.
Declaration
public List<Variable> ContextValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Variable> |
Duration
Calculates the Duration of the current test case;
Declaration
public TimeSpan Duration { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
DurationText
Calculates the Duration of the current test case and convert to readable text.
Declaration
public string DurationText { get; }
Property Value
Type | Description |
---|---|
System.String |
EndTime
The System.DateTime when the test execution for the test case ends.
Declaration
public DateTime EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
GlobalContextValues
Global Contexte variables genereted during the test execution
Declaration
public List<Variable> GlobalContextValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Variable> |
Id
The unique identifier of the report item, generated automaticaly and used for showing report
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Log
The log of the test case.
Declaration
public string Log { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Result
overall test result for the current test case.
Declaration
public Result Result { get; set; }
Property Value
Type | Description |
---|---|
Result |
StartTime
The System.DateTime when the test is started for execution.
Declaration
public DateTime StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
TestData
Test data has used during the text execution
Declaration
public List<Variable> TestData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Variable> |
TestName
The name of test case
Declaration
public string TestName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAttachFile(String, String)
Attach a external file to the test report.
Declaration
public void AttachFile(string fileName, string fileType)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | the fullpath of the file. |
System.String | fileType | the type of the file, possible values: AccessibilityReport |