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

Answers were Sorted based on User's Feedback



in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my do..

Answer / jyotikrushna mohapatra

You can do by just parameterizing it.Let's explain with an
example. You have a datatable let table.xls in C drive and
if you want to extract the data from this excel file into
your document then write in the pane

datatable.importsheet "C:\\table.xls",1,destination

Here destination means where u have to place the data

Is This Answer Correct ?    2 Yes 1 No

in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my do..

Answer / turtlerock

Datatable.import("c:\one.xls")

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How can you destroy an object in vbscript?

0 Answers  


Explain the support of asp for vb script functionality?

0 Answers  


What purpose does ‘on error resume next’ serves?

0 Answers  


Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

0 Answers   Microsoft,


how to find the textfile in the folder and copy file from one folder to another folder useing parameterigation in QTP

1 Answers   Accenture,






What is the use of option explicit statement?

0 Answers  


How to get the length of the string by making use of the string function?

0 Answers  


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

0 Answers  


What is Querystring collection?

0 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,


Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


What is vbscript?

0 Answers  


Categories