Explain about opening notepad in QTP and writing of test
result in notepad?
Answer Posted / ajreddy
set fso = createobject("scripting.filesytemobject")
file_path = "c:\ajreddy.txt"
set notepad = fso.createtextfile(file_path,forwriting)
notepad.writeline "hi ajreddy"
notepad.writeline "this is created on "& now
notepad.close
set notepad = fso.opentextfile(file_path,forreading)
for notepad.atendofstream
n = notepad.readline
msgbox n
Next
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
How to use the object spy in quicktest professional (qtp) 8.0 version?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
Does Low-level recording capture mouse movements?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
What is CMMP and CMMH?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
What are the challenges u faced in testing with crm domain? How u overcome with?
How is UFT 11.5 version different from UFT 12.0?
Does quicktest professional is unicode compatible?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)