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 are the check points can be inserted without recording?
What is the difference between call to existing action and copy of an action?
What are the different types of recovery operation?
Will down time for server and content maintenance/upgrades be allowed? how much?
How the smart identification is used in real time?Please explain with an example
Explain the concept of how quicktest professional identifies object?
What is active screen?
when a test case is written how u test using qtp
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)
what is error and fault in terms of software quality?
Explain how you can replace string in qtp?
Explain quicktest professional (qtp) testing process?
unique properties of button,edit box, radio button,check box?
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
How to call a test from another test?