How to Import data from a ".xls" file to Data table
during Runtime.
Answer / sreeprasad
DataTable.Import("path of the file")
DataTable.ImportSheet("filepath","sheetsource","sheetDest")
Sheetsource:index or name of the sheet in the file which u
want to import. index begins vth 1.
SheetDest: index or name of the sheet in the datatable
which u want to replace vth Sheetsource.Index begins vth 1.
ex:
Datatable.importsheet("c:\name.xls",1,"name")
| Is This Answer Correct ? | 2 Yes | 0 No |
does qtp runs on internet explorer 7.0
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
wt is the xtension of the QTP result view file?
In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?
How to retrieve the data from database?
How to handle the exceptions using recovery scenario manager in QTP?
what is a file system object in QTP
How can I check if a environment variable exist or not?
if numbers are always changing write a script for that
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..
Waht is User interface and Integration Testing?