Click or drag to resize

DataSourceImportData Method

Import Data from the given data source. After a successful import, the Data property will be filled. If HasHeader is set to True, the Headers property will be automatically assigned.

Namespace:  Hummingbird.TestFramework.Automation
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public abstract int ImportData(
	TestCase testCase
)

Parameters

testCase
Type: Hummingbird.TestFramework.AutomationTestCase
The test case who calling the importData Method

Return Value

Type: Int32
an Int32 value represents the number of rows imported.
Remarks
The Headers will be persisted but the data will not: It will not be saved with the Test Automation project, every run Hummingbird Test Framework will re-import the data from defined location.
See Also