Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

Post New Answer

More QTP Interview Questions

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"

3 Answers  


how to get the object count ?????????

8 Answers  


what is the difference between modular framework & datadriven framework

0 Answers   SDS,


Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??

6 Answers   Virtusa,


How to compare the two strings?

2 Answers  


1)What is the Difference Between WaitTo & Sync?

4 Answers   Wipro,


Hi What are re-usable actions in QTP? -Thank You

5 Answers   Siemens,


where u maintain qtp scripts in ur company

4 Answers   HCL,


How to do Laod testing for web based Application?

1 Answers  


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

0 Answers   Altair,


How to identify flash application when the qtp is not identifying the flash application objects.

2 Answers  


could any help me please, how to work on visual foxpro application using UFT

0 Answers   NA,


Categories