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 we record using all the modes in a single script? Explanation with example is appreciated
How to test results for qtp ?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
Write a QTP script to enter a keyword in to Google search engine?
What is QTP scenario.
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
how to know no.of mails in our g mail by using vb-script
Please guide me release notes of Automation once scripts are completed
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How many number of actions possible in qtp?
What are the various types of Actions in UFT?
breef description of batch testing ?
How you can find the absolute value of the number in qtp?