09-17-2012, 12:34 PM
@jinnah
I would request you to first refer to QTp help as it will answer most of your queries.
Below is the syntax for Import sheet.
Lets look at ur code.
str_driverworkbook : is the file name which needs to be imported.
str_driverdatasheet : is the sheetname in the file(str_driverworkbook) which needs to be imported to qtp datatable sheet str_driverdatasheet : is the sheet name in QTP datatable
Regards,
Ankesh
I would request you to first refer to QTp help as it will answer most of your queries.
Below is the syntax for Import sheet.
Code:
Datatable.ImportSheet "<FileName>","<SourceSheet>","<destinationSheet>"
Lets look at ur code.
Code:
DataTable.ImportSheet str_driverworkbook, str_driverdatasheet, str_driverdatasheet
str_driverdatasheet : is the sheetname in the file(str_driverworkbook) which needs to be imported to qtp datatable sheet str_driverdatasheet : is the sheet name in QTP datatable
Regards,
Ankesh