How can we get the result from WindowsXP Command Window?
(e.g. After we input 'ipconfig' in command window, how QTP
get the result?)

Answers were Sorted based on User's Feedback



How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' ..

Answer / 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

How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' ..

Answer / sagar kuamr sutar

We can get the results from windows xp cmd prompt:

Dim app
set app = createobject ("QuickTest.Application")
SystemUtil.Run "cmd.exe"
app.sendkeys "cd\"
app.sendkeys "~"

After this you can give your input to get the results.

Is This Answer Correct ?    0 Yes 1 No

How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' ..

Answer / rajendra

Command window meand command prompt,
it is a DOS o.s environment.
QTP cannot support this dos environment.

ok frindz byee

Rajendra
rajendra_penumalli@yahoo.com
+91-9885162742

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

0 Answers  


IF we use batch testing.the result shown for last action only.in that how can i get result for every action.

2 Answers  


How can we fill data in a text box without recording using object spy. Can you please provide the steps...

1 Answers   Hotel Jobs, TCS,


Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window

3 Answers  


What is meant by Repository?

7 Answers   ALFiNE IT Solutions, Four soft,






How do we call Library Files(.vbs) in the Test Script Thanks in Advance...

6 Answers  


How to capture the Check point Value into a variable?

2 Answers  


What is the Diff between Image check-point and Bit map Check point?

3 Answers   Crea,


what difference between client and server applications exatly?

1 Answers   Honeywell,


How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..

4 Answers   IBM,


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

0 Answers  


Categories