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
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
What are the advantages of parameterization ?
How to save your test using quicktest professional?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
what is clean sweep?
Can you write a script to check if the folder exists or not?
How to check which add-ins are associated with a test in qtp?
How to open a new test using quicktest professional (qtp)?
How do you check ticket cost and ticket number in flight application?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
What are the 3 main stages involved in testing with qtp?
What is the difference between qtp and selenium?
What is environment variable in qtp and why to use it?
What are the advantages of Object Repository?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?