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
How to open a new test using quicktest professional (qtp)?
how to test Web application using QTP software
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What is debugging? How you debug your script?
Suppose I want fail that check point? How can you do that?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
what function you write to do database testing with the help of qtp?
Explain different recording modes?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
Sql questions to find second max salary and how to use joins
What are the types of object repositories? Which one is you using?
Explain the concept of object repository and how quicktest professional recognises objects?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
hou can we use vb script in qtp could u tell me breafly
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?