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


Please Help Members By Posting Answers For Below Questions

Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

2865


what is the difference between modular framework & datadriven framework

1592


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1582


what is the difference between development and testing

2367


How to creating an output value using quicktest professional?

539






How can i check items sorted or not in a weblist ? Give me the script for this...

1571


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1415


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1465


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1493


How software automation specialist enter steps in the Expert View?

1672


Difference between action & Reusable action?

683


What are the factors on which script execution time is dependent?

605


What is the default object synchronization timeout in qtp?

639


What are some test assets and related extensions of qtp?

551


How many types of recording facility are available in quicktest professional (qtp)?

601