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
breef description of batch testing ?
What is synchronization? What are the ways you can synchronize?
How to execute a winrunner script in quicktest professional?
What are the different types of recovery operation?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
How you can find length of array in qtp?
How does quicktest professional (qtp) identifies the object in the application?
what is clean sweep?
How do know the number of browsers opened?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
what is the difference between data driver & data driven and driver script?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?