Explain about opening notepad in QTP and writing of test
result in notepad?
Answer Posted / shyam.meghansh
systemutil.Run("C:\WINDOWS\NOTEPAD.exe")
Window("Notepad").WinEditor("Edit").Type "Hi This is shyam "
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" +
micCtrlUp
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Set "demo"
Window("Notepad").Dialog("Save As").WinButton("Save").Click
'..........Any more question mail me
testingwithshyam@gmail.com
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How will you report the bug and explain the defect tracking sheet you handled?
What is qtpro? What is quick test pro?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How is test case write?
What are the various automation frameworks available in qtp?
What is standalone database?
Write a QTP script to enter a keyword in to Google search engine?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
your coming from electrical backgroung..but y ur coming to software side?
what type of framework u r using in ur organization
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
who QTP recognizes the object stored in object repository?
What are the advantages of Object Repository?
What is the difference between byref and byval in qtp?
What is a Patch in QTP?