Answer Posted / rdshet
Hi,
Set fso = CreateObject("Scripting.FilesyStemObject")
Set fil = fso.CreateTextFile("D:\test.txt", TRUE)
fil.writeline "this is text 1 " ' Writing
fil.writeline "this is text 2 "
fil.writeline "this is text 3 "
fil.close
IF fso.FileExists("D:\test.txt") =TRUE Then
Set fil1 =fso.OpenTextFile ("D:\test.txt",1)
DO WHILE NOT fil1.atendofstream
flread = fil1.ReadLine 'Reading
msgbox flread
LOOP
flread.close
Set flread = NOTHING
END IF
Set fil = NOTHING
Set fso = NOTHING
Regds
Raghavendra
Please correct me if am wrong.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is a reusable action?
can any body give the banking domain concepts/links
What is the descriptive programming?
Generic function to search for the unique link in webtable and click on it
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
How to associate shared object repository to test in qtp?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
What Folder Structure following in Keyword Driven Frame work?
The hybrid framework can be implemented for any application. Is it true?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
after initiating one project for testing, when exacltly QTP tester role starts?
What test you perform mostly? Regression or retesting in your testing process?
Hi,All How to create a link in excel sheet using qtp
What is the expert view?
What is the use of ordinal identifier in qtp?