Click or drag to resize

ExcelDataStorage Class

Exports data to Excel WorkSheet
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.AutomationDataStorage
    Hummingbird.TestFramework.AutomationExcelDataStorage

Namespace:  Hummingbird.TestFramework.Automation
Assembly:  Hummingbird.TestFramework.Automation (in Hummingbird.TestFramework.Automation.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
public class ExcelDataStorage : DataStorage

The ExcelDataStorage type exposes the following members.

Constructors
  NameDescription
Public methodExcelDataStorage
Initializes a new instance of the ExcelDataStorage class
Top
Properties
  NameDescription
Public propertyDataTable
Gets the produced DataTable from the received data to store.
(Inherited from DataStorage.)
Public propertyExistingFileBehavior
Gets or sets the behavior to handling DataStorage when the target file exists.
Public propertyFileName
Gets or sets the name of the Excel file where the data will be stored.
Public propertyHasHeader
Gets or sets if the headers should be written to the data storage if supported
(Inherited from DataStorage.)
Protected propertyHeaders
Gets or sets the headers.
(Inherited from DataStorage.)
Public propertyInformation
Gets or sets the information generated by execution the data storage.
(Inherited from DataStorage.)
Public propertyOverwrite
Gets or sets a value indicating whether the data should be overwritten
(Inherited from DataStorage.)
Public propertySheetName
Gets or sets the Worksheet name where the data will be written.
Public propertySortHeaders
Gets or sets a value indicating whether headers should be sorted alphabetically to the data storage.
(Inherited from DataStorage.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DataStorage.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from DataStorage.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when property value has changed.
(Inherited from DataStorage.)
Public methodProcessData
Processes the received data and produce a DataTable
(Inherited from DataStorage.)
Public methodReceiveData
Receives a collection of data from data sender, such as DataDrivenTestCase. Data will be considered as
(Inherited from DataStorage.)
Public methodSave
This method should be implemented by sub classes by storing data to adapted place: Excel, CSV or SQL Database.
(Overrides DataStorageSave(TestCase).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from DataStorage.)
Top
Fields
  NameDescription
Protected fieldData
The data to be written to the data storage
(Inherited from DataStorage.)
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
See Also