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

Mention the rules for using option explicit statement?

0 Answers  


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 do you get the value of a combo box in Javascript?

2 Answers   Aspire,


give me any information abou vb script books learn quckly

0 Answers  


Hi everybady, i have faced few Qns in one of i attended interview, please help me out with these below Qns. 1. how to join values without using join function? 2. how to compare values without using String compare function? 3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome B A N G A L o R E 4. Input is "CapGemini" but uotput should be like this "inimeGpaC" 5. Input is 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Can someone let me know results of this Qns, please. Thanks.

2 Answers   CSS Corp,






Which data type/types are supported by vbscript language and what are their specialties?

0 Answers  


The function template cocept is implemented in vb.net is ???

0 Answers  


Explain the asc function?

0 Answers  


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


Is it possible to pass optional argument to function in vb script?

2 Answers  


how to write code: to check whether the window of an Application Under Test exist or not . plz give with example

2 Answers  


How will you compare two strings in vbscript?

0 Answers  


Categories