Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling file in QTP
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
you have not defined 'ForAppending' anywhere in the code
add 'ForAppending = 8' this line at top. or

use below statement -
Set tf = fso.OpenTextFile("c:\testfile.txt", 8, True)

Reply


Messages In This Thread
Handling file in QTP - by Ajit.2k6 - 03-05-2010, 06:21 AM
RE: Handling file in QTP - by Saket - 03-05-2010, 12:05 PM
RE: Handling file in QTP - by Ajit.2k6 - 03-05-2010, 01:16 PM
RE: Handling file in QTP - by Saket - 03-05-2010, 02:14 PM
RE: Handling file in QTP - by Ajit.2k6 - 03-08-2010, 05:32 AM
RE: Handling file in QTP - by Saket - 03-08-2010, 09:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference between error handling and exception handling venkatbatchu 6 26,641 12-11-2018, 05:11 PM
Last Post: smitapawar610
  QTP hangs on handling error window dtamilarasan 1 3,811 06-04-2013, 02:45 PM
Last Post: basanth27
  QTP script to save the generated .csv file and excel file priya elangovan 0 4,405 08-29-2012, 04:17 PM
Last Post: priya elangovan
  Handling Flash components through QTP...? venkat_1241 1 3,932 06-23-2010, 10:55 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)