Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to make sure that items in a wintree are sorted al?

2789


When does ‘on click of button’ event gets triggered in the vbscript language?

949


When to use function procedures and what are its characteristics?

1038


how to increase the values in text box in a given text box increament by two values by clicking on button

2132


How should i Create Email invite with server-side Coding?

2069


Mention what is the use of option explicit in vbscript?

925


How will you get a random number between 0 and 1 in vbscript?

1240


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3391


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

2244


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1323


How will you reverse a string in vbscript?

1082


What is the purpose of on error resume next statement?

936


Illustrate briefly about the different types of statement

2453


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

1015


Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

2469