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 to save your test using quicktest professional?

0 Answers  


Explain quicktest professional testing process?

0 Answers  


how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help

4 Answers  


what type of run time errors you get while you ar edoing rpg program?

0 Answers  


How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies

4 Answers   Semantic Space,






When testing a web application, the url for each page changes, so using QTP how do u handle this scenario. If anyone knows please answer in detail about the whole procedure. Thanks a lot.

3 Answers  


write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?

1 Answers   TCS,


How can i check elements sorted in dorpdown using qtp..

1 Answers   Value Labs,


How to create an Action Template?

1 Answers  


How to creating an output value using quicktest professional?

0 Answers  


Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this

1 Answers  


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


Categories