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
What is throw object?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
What are the properties you would use for identifying a browser and page when using descriptive programming?
How would you directly trigger javascript in a test?
what is the difference between modular framework & datadriven framework
Suppose I want fail that check point? How can you do that?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
Can we write winrunner language i.e TSL in QTP tool?
When using descriptive programming?
What are the data types in qtp?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
What is the difference between run time object and test object in QTP?
For which type of project the iterative model is suitable?
What is difference in global and action sheet in qtp?