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 calculate factorial of a number?

5 Answers  


What variable can you use to share info across the whole application for one user?

2 Answers  


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

0 Answers  


write a vb script to display 3*3 matrix

1 Answers  


What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>

1 Answers  






How do you declare a variable in vbscript?

0 Answers  


Which operator is used to concatenate the 2 values in the vbscript language?

0 Answers  


What are keywords in the vbscript language?

0 Answers  


Why is it recommended to close the database connection every time after the work is completed?

0 Answers  


Explain about filter expression?

0 Answers  


write a vb script to display calculator using case statement?

1 Answers  


what does create object actually do when you call it in vbscript?

1 Answers   Cap Gemini,


Categories