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 / divakar o
Mr,
You have done almost,
Using FSO Readline, retrieve the line in to variable say A
then apply Split function on variable A and use the Comma(,)
as delimeter to split and get this data into a variable of
type array
then get each of the array element into required variable
need more info...
next time
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are the key points to create a framework in QTP for oracle forms?
How many types of recording modes are there?
How would you export a script from one pc to another in qtp?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What is fragmentation and paging?
Does QTP run in any environment?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
what is clean sweep?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How can you identify the browser and its information using the qtp script?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
What is parameter in qtp?
What is the qtp testing process?