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 |
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
How QTP recognizes Objects in AUT?
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
What is quicktest professional (qtp)?
can QTP works on LINUX platfom
Java add-in is need to work on java oriented project ?
can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...
What is the default object synchronization timeout in qtp?
how do you run scripts in QTP?please anyone can answer my questions
what testing activities u may want to automate?
diff between dim & redim ? in detailed? pls any one explain me?
What is OUTPUT VALUE ? PLZ Explain With Example?