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
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 |
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 |
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 |
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
How can we fill data in a text box without recording using object spy. Can you please provide the steps...
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window
What is meant by Repository?
7 Answers ALFiNE IT Solutions, Four soft,
How do we call Library Files(.vbs) in the Test Script Thanks in Advance...
How to capture the Check point Value into a variable?
What is the Diff between Image check-point and Bit map Check point?
what difference between client and server applications exatly?
How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..
How to capture screenshots of Exceptions/Errors during run- time?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?