i am new to QTP .
i tried yesterday working with FileSystem Objects worked with all functions writeline,read,move,copy required for files using QTP help
First i created a new text file with a sample text written inside the file.
then i wanted to open the file in read mode using f1=fso.OpenTextFile("c:\txtfile.txt",ForReading)
When i use this response .write statement this way in QTP action it diverts me to error message "Object required"
But when i perform the entire action in
It doesnt throws an error message.but i cant see any operation performed by the qtp script.
Neither i find any thing in test results.
Can you please guide me where i am wrong & what is the main objective of Response.write.