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
Why we load add-ins in qtp?
What is the synchronization point in qtp?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
How many add-ins comes by default with quicktest professional?
what is the advantages and disadvantages of using functions instead of re usable actions
How you create new action in qtp?
What is object spy in quicktest professional?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
Define virtual object?
When do go for loop condition in test?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Explain the benefits of quick test pro(qtp)?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Explain the views in the QTP GUI?
What are the differences between quicktest professional and winrunner?