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

Think and Reply.. can we parameterize radio buttons, check boxes? as in flight web site on flight preference page, choosing different flight produces trouble if from port and to port been parameterize, and runs. Try it by own you will get the error.

3 Answers   Patni,


What are accessibility check point and xml check point?

5 Answers   IBM,


When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??

2 Answers   DST Global Solutions,


What is the difference between low level recording and virtual object.

2 Answers   Tech Mahindra,


HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.

5 Answers   CTS,


How many types of OBJECTS are there in QTP?

8 Answers   Intel, Inter Globe Technologies,


What is Object Spy in QTP?

1 Answers   Crea,


How to handle Run-time errors?

2 Answers  


How to handle Dynamic Arrays?

0 Answers   Wipro,


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

6 Answers  


in qtp how we work with out put values and what is the process?

4 Answers  


Categories