Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
write to text file
#1
Not Solved
Hi

Can some one help me how to write to a data from application to a text file.
For Example, in my global sheet I have a list of User names and Passwords which I will enter and I will get phone number when I log in. I need to write all phone numbers to a text file.

I used GetRoproperty to extract phone number and when I use FSO to write to the text file, only last phone number is getting stored in text file . previous numbers are getting overwritten.
Reply
#2
Not Solved
Hi,
For opening the file for 1st time, create it. Then always open it in Append mode, provided you are opening & closing this text file.
If you are keeping it open, then open it in append mode & then write the text into the file.
Reply
#3
Not Solved
Hi Manoj

Thanks for your reply. can you give me a function how to open it with appand mode second time

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,920 09-13-2015, 12:06 AM
Last Post: ADITI1992
  How to retrieve specied string from text file nsuresh316 1 2,476 06-09-2015, 12:24 AM
Last Post: nsuresh316
  Reading and writing is the same text file poulomi21b 2 6,104 07-08-2014, 12:39 PM
Last Post: poulomi21b
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,690 08-13-2013, 08:37 PM
Last Post: excellentpawan
  How To Copy a text in a .txt file adelitza 0 2,386 09-03-2012, 07:29 PM
Last Post: adelitza

Forum Jump:


Users browsing this thread: 1 Guest(s)