Show / Hide Table of Contents

Class TestCaseReport

Test report for a single test case

Inheritance
Object
TestCaseReport
Namespace: AxaFrance.WebEngine.Report
Assembly: AxaFrance.WebEngine.dll
Syntax
[Serializable]
public class TestCaseReport

Properties

| Edit this page View Source

ActionReports

The result of the test steps

Declaration
public List<ActionReport> ActionReports { get; set; }
Property Value
Type Description
List<ActionReport>
| Edit this page View Source

AttachedData

Additional data attached to the test report. for example: accessibility scan results, resource usage report, etc...

Declaration
public List<AdditionalData> AttachedData { get; set; }
Property Value
Type Description
List<AdditionalData>
| Edit this page View Source

ContextValues

Contexte variables genereted during the test execution.

Declaration
public List<Variable> ContextValues { get; set; }
Property Value
Type Description
List<Variable>
| Edit this page View Source

Duration

Calculates the Duration of the current test case;

Declaration
public TimeSpan Duration { get; }
Property Value
Type Description
TimeSpan
| Edit this page View Source

DurationText

Calculates the Duration of the current test case and convert to readable text.

Declaration
public string DurationText { get; }
Property Value
Type Description
String
| Edit this page View Source

EndTime

The System.DateTime when the test execution for the test case ends.

Declaration
public DateTime EndTime { get; set; }
Property Value
Type Description
DateTime
| Edit this page View Source

GlobalContextValues

Global Contexte variables genereted during the test execution

Declaration
public List<Variable> GlobalContextValues { get; set; }
Property Value
Type Description
List<Variable>
| Edit this page View Source

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
String
| Edit this page View Source

Log

The log of the test case.

Declaration
public string Log { get; set; }
Property Value
Type Description
String
| Edit this page View Source

Result

overall test result for the current test case.

Declaration
public Result Result { get; set; }
Property Value
Type Description
Result
| Edit this page View Source

StartTime

The System.DateTime when the test is started for execution.

Declaration
public DateTime StartTime { get; set; }
Property Value
Type Description
DateTime
| Edit this page View Source

TestData

Test data has used during the text execution

Declaration
public List<Variable> TestData { get; set; }
Property Value
Type Description
List<Variable>
| Edit this page View Source

TestName

The name of test case

Declaration
public string TestName { get; set; }
Property Value
Type Description
String

Methods

| Edit this page View Source

Attach(Object, String)

Attach an object to the test report

Declaration
public void Attach(object o, string fileType)
Parameters
Type Name Description
Object o

object to attach, the object will be serialized as json

String fileType

the type of the file, possible values: AccessibilityReport, ResourceUsage

| Edit this page View Source

AttachFile(String, String)

Attach an external file to the test report.

Declaration
public void AttachFile(string fileName, string fileType)
Parameters
Type Name Description
String fileName

the fullpath of the file.

String fileType

the type of the file, possible values: AccessibilityReport, ResourceUsage

  • Edit this page
  • View Source
In this article
Back to top Copyright ® 2016-2024 AXA France, All rights reserved.