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

what is extension of the file if its saved from recovery manger to some drive

1 Answers  


What are the disadvantages of vbscript?

0 Answers  


How you can call vbscript functions?

0 Answers  


What is the use of the instr function?

0 Answers  


What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.

3 Answers   Accenture,






How to Pass Multiple values in functions by using vb script? Function value(arg1,arg2) N1=arg1+arg2 N2=arg1-agr2 N3=arg1*agr2 N4=arg1/arg2 Value= How to pass ? End Function

3 Answers   iGate,


What are class variables?

0 Answers  


How many types of operators are available in the vbscript language?

0 Answers  


Input = 124 output should be 124421 Please do not use any string functions/variables

8 Answers   Cap Gemini,


Write a program to create a Dynamic array of size 5 elements and display all the elements.

1 Answers  


Which operator can be used to do an xor operation in vbscript?

0 Answers  


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

0 Answers   College School Exams Tests,


Categories