Click or drag to resize

CsvDataSourceImportData Method

Imports the data from the Comma-separated value (CSV) File specified in FileName property.

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

Parameters

testCase
Type: Hummingbird.TestFramework.AutomationTestCase
The referenced test case.

Return Value

Type: Int32
Boolean value indicating if the Import is successful.
Exceptions
ExceptionCondition
InvalidOperationExceptionYou are using a relative path but the project has not yet saved. When using relative path, the project must have been saved.
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