How can we get the result from WindowsXP Command Window?
(e.g. After we input 'ipconfig' in command window, how QTP
get the result?)
Answer Posted / surya
Dim app
set app = createobject ("Wscript.shell")
SystemUtil.Run "cmd.exe"
app.sendkeys "cd\"
app.sendkeys "~"
this code will run
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Plz Explain AUTOMATION REFERENCE MODEL?
what kind of frame work you used in your last project?
Explain types of descriptive programming?
Explain the difference between check point and output value?
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?
When to use descriptive programming?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
How to data driven test for Win objects in QTP ?
How will you find the current time of the remote machine using QTP script?
In qtp, how you can exit for loop?
Explain how you can delete excel file in qtp?
How to analyzing test results using quicktest professional (qtp)?
Explain the concept of object repository and how qtp recognises objects?
How to start recording using quicktest professional (qtp)?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?