ExcelDataSourceImportData 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.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 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