How to Import data from a ".xls" file to Data table during
Runtime.
Answer / ramyab.mca@gmail.com
Hai....
Import data from a ".xls" file to Data table during Runtime:
1.Datatable.Import "...XLS file name..."
2.DataTable.ImportSheet(FileName, SheetSource, SheetDest)
3.DataTable.ImportSheet "C:\name.xls" ,1 ,"name"
K,Byeeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 2 Yes | 0 No |
Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"
how to get the object count ?????????
what is the difference between modular framework & datadriven framework
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??
How to compare the two strings?
1)What is the Difference Between WaitTo & Sync?
Hi What are re-usable actions in QTP? -Thank You
where u maintain qtp scripts in ur company
How to do Laod testing for web based Application?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
How to identify flash application when the qtp is not identifying the flash application objects.
could any help me please, how to work on visual foxpro application using UFT