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
wt is the use of multiple questions in QTP
Where can I find and view run-time data table?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
How do know the number of browsers opened?
How many types of Automation frameworks are there in UFT? Describe them.
how did u use automating testing tools in ur job?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What is a programmatic description?
How does qtp identify objects in the application?
explain structured testing? plz guys with exp. do answer
What is Distributed testing? How does UFT support it?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
Which environments does qtp support?