How to Import data from a file (file is on the desktop) to
the data table

Answers were Sorted based on User's Feedback



How to Import data from a file (file is on the desktop) to the data table..

Answer / sojan davis

We can use Datatable.import and Datatable.importsheet method

Is This Answer Correct ?    2 Yes 0 No

How to Import data from a file (file is on the desktop) to the data table..

Answer / mythreyi

We can import a file in two ways.

1) In Qtp window -> Go to data table -> Right click on data table select File -> import file

2) In keyword view, write datatable.import "path of the file"

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More VB Script Interview Questions

write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple

7 Answers  


how to automatically update the sql server2005 database records when insert in vb6?

0 Answers  


Can anyone help me in write coding to get this pattern * ** *** ****

3 Answers  


Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


hai..friends ....what is the difference between function and sub procedure ....here every one know's theoretically here my question is what is the meaning of function can return the value and sub can't return the value...can you give one example with some values for that ....what does it mean ? how function can return the value...sub can not...any one please...........with example

1 Answers   Cap Gemini,






in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script

2 Answers  


how to operate webobjects in a webpage using getobject function and then using generic methods?

0 Answers  


int a=4857 i need output as 7584.without using any inbuild function?

6 Answers   Aspire,


Which function allows you to instantiate an object given its programmatic identifier or progid?

0 Answers  


What is sql loader? Explain the files used by sql loader to load file?

0 Answers  


write a vbscript for finding the sum of the numbers from 1- 50

3 Answers  


How to find arry size in qtp vb script

2 Answers   Cap Gemini,


Categories