How do u retrieve data from a text file into different
variables. i.e.
in a text file named "source" , the data is like :
india,1000,japan,200,china,50,singapore,45050
this is given in the first line of the text file.
in the second line of the text file the dta is:
sun,moon,planet,river,earth,water
if u use "readline" method by using FSO concept u can
retrieve the entire line in to a variable. but i want to
import each field (ex: "india" in one variable, "1000" in
another variable etc..). Apprecitae proper replies.
Answer Posted / vinay.k
ya by FSO u can retrieve a line... make use of regular
expression u will arrive at the solution.for ex using \d u can
retrieve digits and \w will give u word char..
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can U Explain about QTP tool from older version to latest version also its differences?
What is RTM (require ment tracebulity marix) fromate?
What is the difference between byref and byval in qtp?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
How many ways is to parameterize the value?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
Explain types of descriptive programming?
Tell me about your project? please help me how to tell about insurance project
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
how can i pass a "cript"as a parameter in to a function
How to check bitmap output value?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
how can i call function (which has link with excell sheet at a remote location) within another function
Thanks....But can u tell me how i use the QTP for GIS with one Example...