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
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
What is checkpoints for quicktest professional?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
Define Environment Variable in UFT and its uses?
Hybrid framework supports Descriptive programming. Is it true?
what is output value in QTP and how it can be used in automation testing
What are the types of environment variables in qtp?
What are main panes available in qtp test browser?
What is the XML file architecture ?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
Is any limitation to xml checkpoints?
What is Test Fusion Report in QTP?
What are the differences between qtp and winrunner?