Answer Posted / shobhit kaul
hi frnds in the above answer(by king) there is only one
change
as inspite of creating object of quicktest.applicaton
you should create object of wscript.shell
The code is as::
Set app=CreateObject("Wscript.shell")
SystemUtil.run("cmd.exe")
app.sendkeys "cd\"
app.sendkeys "~" 'its for enter key
app.sendkeys "default.xls" 'this xls should be any where
your c drive
app.sendkeys "~"
Please correct me if i am wrong any where
my emai id is
kaul.shobhit@gmail.com
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
what you mean by artifact,milestone...
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)
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
How do client side image and server side image work?
When you open QTP, how many sheets you can see?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
how to test load test and block box testing an a web based application pls give ans briefly
Tell me one scenario, the complex functionality you have automated in your project?
how to test Web application using QTP software
How can you give wait up to 10 seconds in qtp?
Describe how Smart Identification is used
Where to use function or action?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance