Click or drag to resize

AbstractDataGenerator Class

Generates test data for automated tests. For each iteration it generates data and fill the value to Test case variable.
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Automation.DataGenerator
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")]
[KnownTypeAttribute(typeof(VariableDataGenerator))]
[XmlIncludeAttribute(typeof(VariableDataGenerator))]
[KnownTypeAttribute(typeof(TableDataGenerator))]
[XmlIncludeAttribute(typeof(TableDataGenerator))]
[KnownTypeAttribute(typeof(RandomDataGenerator))]
[XmlIncludeAttribute(typeof(RandomDataGenerator))]
public abstract class AbstractDataGenerator

The AbstractDataGenerator type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractDataGenerator
Initializes a new instance of the AbstractDataGenerator class
Top
Properties
  NameDescription
Public propertyIsRandom
Gets or sets a value indicating whether to generate data randomly.
Public propertyName
Gets or sets the name of the current DataGenerator
Top
Methods
  NameDescription
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 methodGenerate
Generates data at the current cursor and move the cursor to next position. or generates data at random position when IsRandom is set to
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.)
Public methodReset
Resets the cursor to 0.
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
All data generators should be used in repeatable test cases such as LoadTestCase or DataDrivenTestCase.
See Also