OPening of notedpad in QTP to write and execute the coding?

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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to start recording using quicktest professional?

613


what is run-time data?

1703


How to analyzing test results using quicktest professional (qtp)?

594


Why is action split used by qtp?

569


How to run a test using quicktest professional?

538






If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

581


What is CMMP and CMMH?

704


what the difference between shared repository and per action repository?

554


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1642


Explain the parameter in qtp?

587


Explain the benefits of quick test pro(qtp)?

578


Explain how you can replace string in qtp?

607


What is business process testing(bpt) in qtp?

699


How to define array in qtp?

582


What do you mean by checkpoints in qtp?

563