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


Please Help Members By Posting Answers For Below Questions

What are the disadvantages of recording test cases in qtp?

591


what are the limitations of smart identification in qtp 9.0

1917


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1514


Discuss the QTP Environment?

617


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

629






What is the difference between per-action and shared?

586


How do I get the QTP scripts result in xml format by using vb script function?

1776


How many types of recording modes in qtp? Which will be used when?

546


please post the interview questions for QA position in FACTSET

3940


Define object spy ?

557


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1567


how to convert 100 into hundred repees only and viceversa

1445


Explain the concept of object repository and how qtp recognises objects?

524


What is accessibility check point?

653


What are the different types of functions available in qtp and explain ?

560