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 |
How can we display the names of the buttons in the toolbar of a webpage
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
how to capture data from images in QTP and produce them in excel sheet?
Suppose u write test case in Excel sheet . how u open that test case in Test Director?
How to Import the data from MS-Access in QTP?
How many types of parameters are there?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
what is the difference between window command and dialog command
What is data driven testing in QTP?
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
How can i count the list box elements in QTP ?using script plz explain me (Chandana)