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
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
Explain the check points in quicktest professional?
how to do the batch testing in test director using manual testing procedure?
When do go for loop condition in test?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
what is output value in QTP and how it can be used in automation testing
how to prepared for first for the first interview?
How to open a new test using quicktest professional?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
What is recovery scenario manager? When you go for recovery scenario manager?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
Explain about the test fusion report of quicktest professional (qtp)?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?