please clarify the question .................
i know how to open the notepad file ?
but i don't know how to enter the data into opened notepad ?
Ex: set a=createobject("wscript.shell")
a.run "Notepad.exe"
please give the replay.
my mail id is raju.ippali@gmial.com, 9823257761
Answer Posted / m.s.patil
Dim fso,filepath
Set fso =CreateObject("Scripting.FileSystemObject")
Set filePath =fso.CreateTextFile("C:\mpatil3.txt")
filePath.WriteLine ("This is sample code")
filepath.Close
Set fso =Nothing
I have tested this and it works fine.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is QTP and the use of QTP in TD?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What is the quicktest professional (qtp) testing process?
In what occasion we can specify global sheet and action sheet?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Describe synchronization point.
What is the basic concept of quicktest professional (qtp)?
unique properties of button,edit box, radio button,check box?
What are the views available in quicktest professional?
How to carry out bit map check points in QTP
Explain different types of checkpoints?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
Explain quicktest professional (qtp) testing process?
What is the default add-ins in qtp?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.