CsvDataStorage Class |
Namespace: Hummingbird.TestFramework.Automation
The CsvDataStorage type exposes the following members.
Name | Description | |
---|---|---|
CsvDataStorage |
Initializes a new instance of the CsvDataStorage class.
|
Name | Description | |
---|---|---|
DataTable |
Gets the produced DataTable from the received data to store.
(Inherited from DataStorage.) | |
FileName |
Gets or sets the File name which data will be written. If HasHeader is set to , the first row of CSV will be headers.
| |
HasHeader |
Gets or sets if the headers should be written to the data storage if supported
(Inherited from DataStorage.) | |
Headers |
Gets or sets the headers.
(Inherited from DataStorage.) | |
Information |
Gets or sets the information generated by execution the data storage.
(Inherited from DataStorage.) | |
Overwrite |
Gets or sets a value indicating whether the data should be overwritten
(Inherited from DataStorage.) | |
Separator |
Gets or sets the separator of the CSV file, the default separator depends on your localization settings. For example, for US based culture
| |
SortHeaders |
Gets or sets a value indicating whether headers should be sorted alphabetically to the data storage.
(Inherited from DataStorage.) |
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DataStorage.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from DataStorage.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPropertyChanged |
Called when property value has changed.
(Inherited from DataStorage.) | |
ProcessData |
Processes the received data and produce a DataTable
(Inherited from DataStorage.) | |
ReceiveData |
Receives a collection of data from data sender, such as DataDrivenTestCase. Data will be considered as
(Inherited from DataStorage.) | |
Save |
This method should be implemented by sub classes by storing data to adapted place: Excel, CSV or SQL Database.
(Overrides DataStorageSave(TestCase).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
(Inherited from DataStorage.) |
Name | Description | |
---|---|---|
Data |
The data to be written to the data storage
(Inherited from DataStorage.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |