How can we use the "CreateObject("Wscript.Shell")" in QTP
and what is the definition and purpose of it?
Answer Posted / hemakumar.m
For perfoming keyboard operations "Wscript" is use full.
Eg:For Pressing "F5"
Set Object=CreateObject("Wscript.Shell")
Object.SendKeys "{F5}"
U can find this in qtp help.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Key word driven framework
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
If I change the object name in one action will it be updated in all the actions? Or not?
Describe how Smart Identification is used
What are the various automation frameworks available in qtp?
after initiating one project for testing, when exacltly QTP tester role starts?
Explain the types of object repositorys in qtp?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
give me the code to save all messages of inbox of gmail into a folder and notepad
Mention the test steps of qtp.
What are the advantages of qtp?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
If created one virtual object? Next time I changed the window position will it work?