TableDataGenerator Class |
Namespace: Hummingbird.TestFramework.Automation.DataGenerator
The TableDataGenerator type exposes the following members.
Name | Description | |
---|---|---|
TableDataGenerator |
Initializes a new instance of the TableDataGenerator class.
|
Name | Description | |
---|---|---|
DataSource |
Gets or sets the data source of this DataGenerator
| |
Id |
Gets or sets the identifier of this TableDataGenerator | |
IsRandom |
Gets or sets a value indicating whether to generate data randomly.
(Inherited from AbstractDataGenerator.) | |
Name |
Gets or sets the name of the current DataGenerator
(Inherited from AbstractDataGenerator.) |
Name | Description | |
---|---|---|
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.) | |
Generate |
Generates data at the current cursor and move the cursor to next position.
(Overrides AbstractDataGeneratorGenerate(TestCase).) | |
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.) | |
Reset |
Resets the cursor to 0.
(Overrides AbstractDataGeneratorReset.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |
The TableDataGenerator is used in an API Performance test case. For each iteration, it will select a data row and converts it's value into variable.
DataGenerator uses static cache to store data, the data will be loaded at the first time it will be called. Data is loaded from the file described in DataSource property.