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 is Cross browser testing? Does UFT support it?
How will you report the bug and explain the defect tracking sheet you handled?
How do we handle run-time errors?
How you are developing the script? Using record and play back or manual?
What is the difference between qtp and selenium?
Explain the concept of object repository and how QTP recognizes objects?
How to interact tool & application build in QTP?
What is parameter in qtp?
Can we record using all the modes in a single script? Explanation with example is appreciated
wht type of User defined functions or Java Releated functions do we write in VB scripting
How to use the object spy in quicktest professional 8.0 version?
how to test load test and block box testing an a web based application pls give ans briefly
What is action?
what is the difference btn risks & Therads in the Test plan documentation?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance