Click or drag to resize

VariableDataGenerator Class

Generates data from a given list of possible values.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.Automation.DataGeneratorAbstractDataGenerator
    Hummingbird.TestFramework.Automation.DataGeneratorVariableDataGenerator

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

The VariableDataGenerator type exposes the following members.

Constructors
  NameDescription
Public methodVariableDataGenerator
Initializes a new instance of the VariableDataGenerator class.
Top
Properties
  NameDescription
Public propertyIsRandom
Gets or sets a value indicating whether to generate data randomly.
(Inherited from AbstractDataGenerator.)
Public propertyName
Gets or sets the name of the current DataGenerator
(Inherited from AbstractDataGenerator.)
Public propertyVariables
Gets or sets a list of variables that this data generator will generate. The name of the variable will be replaced by one of the value, the Value of the variable represents a list of possible values.
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.
(Overrides AbstractDataGeneratorGenerate(TestCase).)
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.
(Overrides AbstractDataGeneratorReset.)
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
See Also