Multiple choice technology testing

How to Import data from a .xls file to Data table during Runtime?

  1. Datatable.Import

  2. Excel.GetSheet

  3. DataTable.GetSheet

  4. DataTable.ImportSheet

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

Both Datatable.Import and DataTable.ImportSheet can import data from .xls files during runtime. Excel.GetSheet is not a valid QTP method, and DataTable.GetSheet retrieves a sheet reference but doesn't import data.