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
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
What are the different kinds of test steps?
Object repositories types, which and when to use?
How will you check that your test cases covered all the requirements?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Does QTP run in any environment?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
How to run a test using quicktest professional?
Can we write winrunner language i.e TSL in QTP tool?
What are the data types in qtp?
Name the properties you would use for identifying a browser and page when using descriptive programming?
Explain about the test fusion report of quicktest professional?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
Explain about datafile/verification of date file when file is not available in local system?
What are the key elements available in test result window?