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
Answer Posted / 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 |
Post New Answer View All Answers
What are the special sub-types in vbscript?
Mention what is the technology used by vb script?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
How to open a file. What is the perpose of true and false mode there?
How to pass argument by reference to a function in vbscript?
How are values assigned to string type and numeric type variables?
How will you get the last occurrence of one string within another string using vbscript?
Which operator can be used to check if two numbers are equal or not in vbscript?
What is the event handling in vbscript?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Explain the arrays in vb script?
What are the advantages of vbscript?
How regexp.execute method works?
Explain few date functions in vbscript?
What is the difference between javascript and vbscript?