Answer Posted / aiswaryan
'Record the opening of command prompt in low level mode.
SystemUtil.Run "cmd","","C:\Documents and
Settings\<user>",""
wait 5
Record entering the text "hostname" in cmd prompt in Analog
mode .
Desktop.RunAnalog "Track2"
I have just started learning QTP. I am finding a proper
script to do the above task without recording in analog. If
anyone know please post the answers. Thx.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Why qtp the best testing tool?
How to build scripts that access data from external sources?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
if numbers are always changing write a script for that
Explain in brief about the quicktest professional automation object model?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
In qtp, how you can use xpath to identify objects?
Explain process of smart Identification in QTP?
How to recognise the webelement and verifying that webelement is enabled?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
Explain the types of properties that quick test learns while recording?
Do you know how to connect database? Can you tell me the procedures?