Click or drag to resize

AutomatedTestReport Class

This class represents the schema of the Report generated by the Automated Test.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.Automation.ReportReportItem
    Hummingbird.TestFramework.Automation.ReportAutomatedTestReport

Namespace:  Hummingbird.TestFramework.Automation.Report
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
public sealed class AutomatedTestReport : ReportItem

The AutomatedTestReport type exposes the following members.

Constructors
  NameDescription
Public methodAutomatedTestReport
Initializes a new instance of the AutomatedTestReport class.
Top
Properties
  NameDescription
Public propertyContext
Gets or sets the context.
(Inherited from ReportItem.)
Public propertyDateGenerated
Gets or sets the date when the report is generated.
Public propertyDescription
Gets or sets the description.
(Inherited from ReportItem.)
Public propertyDisplayMessage
Gets or sets the display message.
(Inherited from ReportItem.)
Public propertyDuration
Gets the duration for executing the current item
(Inherited from ReportItem.)
Public propertyDurationTicks
Gets or sets the duration in ticks
(Inherited from ReportItem.)
Public propertyHostName
Gets or sets the host name where is test has been executed. This value is reserved to be compatible with xUnit framework, but not yet used in Hummingbird Test Framework
(Inherited from ReportItem.)
Public propertyId
Gets or sets The ID represents the ID of AbstractTestItem
(Inherited from ReportItem.)
Public propertyInformation
Gets or sets the information.
(Inherited from ReportItem.)
Public propertyItems
Gets or sets the sub items of the current ReportItem
(Inherited from ReportItem.)
Public propertyItemType
Gets or sets the type of the current ReportItem.
(Inherited from ReportItem.)
Public propertyName
Gets or sets the Name represents the Name of AbstractTestItem
(Inherited from ReportItem.)
Public propertyPassrate
Gets the string representation of Pass rate (Passed test / Total tests).
Public propertyRequestText
Gets or sets the request text.
(Inherited from ReportItem.)
Public propertyResponseText
Gets or sets the response text.
(Inherited from ReportItem.)
Public propertyStartTime
Gets or sets the Date when the current AbstractTestItem starts to run
(Inherited from ReportItem.)
Public propertyStatus
Gets or sets the Status represents the final TestStatus of an AbstractTestItem
(Inherited from ReportItem.)
Public propertyTag
Gets or sets the Tag of the ReportItem, it can be anything
(Inherited from ReportItem.)
Public propertyTestsFailed
Gets the total number of test cases failed.
Public propertyTestsPassed
Gets the total number of test cases passed.
Public propertyTestSuites
Gets the total number of test suites.
Public propertyTestsWarning
Gets the total number of test cases executed and the status is Warning.
Public propertyTotalTests
Gets the total number of test cases and test instances from the current test
Public propertyVariables
Gets or sets the variables.
(Inherited from ReportItem.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExport
Saves the current instance to the file.
Public methodExportJUnit
Exports the test report compatible with Apache Ant JUnit report
Public methodExportNUnit
Exports the test report compatible with NUnit-3 test result
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberImport
Imports a Automated Test Report from a file (*.APR).
Public methodStatic memberLoadFrom
Generates a Test Report from an AutomationProject
Public methodStatic memberLoadFromAsync
Generates a Test Report from an AutomationProject asynchronously
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
Remarks
The report shows the test result and additional information for a whole AutomationProject. Reports can be saved in XML format and be viewed by Hummingbird Report Viewer.
See Also