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

Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

0 Answers  


OPening of notedpad in QTP to write and execute the coding?

2 Answers  


What is difference between QC and TD?

8 Answers  


What are the different attributes used with regular expression?

0 Answers  


Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?

1 Answers  


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

0 Answers  


Could any one suggest web site links to learning VB Script for QTP purpose??

3 Answers  


Can any one explain about environment variables with examples?

2 Answers  


Discuss quicktest professional environment?

0 Answers  


tell me about if in the interview what i should tell about pharma application,what r the pharma application concepts,i need pharma application testing features

0 Answers  


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


How many add-ins comes by default with qtp?

0 Answers  


Categories