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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the test steps of qtp.

541


Have you done batch testing in qtp? If yes how you are doing?

509


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1283


What are the advantages of Object Repository?

590


What will be happen if i load object repository at run time, but it has already associated.

1260






Explain the Different types of QTP test assets and their extensions?

605


How to find the path of folder in which the test is saved in qtp?

534


Explain in brief about the qtp automation object model (aom).

565


Is it possible to change the property value at runtime? How it is possible?

575


Explain the difference between data driven testing and parameterization ?

590


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1497


What is a reusable action?

576


Explain the checkpoint in qtp?

594


What contains Data Driven Framework document in qtp?

1471


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

23929