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
)
Public Overrides Function ImportData (
testCase As TestCase
) As Integer
public:
virtual int ImportData(
TestCase^ testCase
) override
abstract ImportData :
testCase : TestCase -> int
override ImportData :
testCase : TestCase -> int
Parameters
- testCase
- Type: Hummingbird.TestFramework.AutomationTestCase
The referenced test case.
Return Value
Type:
Int32Boolean value indicating if the Import is successful.
Exceptions Exception | Condition |
---|
InvalidOperationException | You 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