The ___________Method -Imports a sheet of a specified file to a specified sheet in the run-time Data Table.
Reveal answer
Fill a bubble to check yourself
The ___________Method -Imports a sheet of a specified file to a specified sheet in the run-time Data Table.
Import Table
SheetImport
ImportSheet
ImportDataTable
The ImportSheet method in QTP's DataTable object imports a sheet from an external Excel file into the runtime Data Table. The syntax is DataTable.ImportSheet(filename, sheetSource, sheetDest). ImportTable and SheetImport are not valid methods.
In QTP/UFT, the DataTable object's ImportSheet method imports a sheet from an external Excel file into a specified sheet of the run-time Data Table, letting you pull external test data into your test's data table during execution. 'Import Table' and 'SheetImport' are just reworded/reordered versions of the real method name and aren't actual DataTable methods, and 'ImportDataTable' doesn't exist as a method — the actual API method name is precisely 'ImportSheet'.