Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Key word driven framework

2230


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

2991


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

1102


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1889


If I change the object name in one action will it be updated in all the actions? Or not?

1116


Describe how Smart Identification is used

2301


What are the various automation frameworks available in qtp?

1026


after initiating one project for testing, when exacltly QTP tester role starts?

1976


Explain the types of object repositorys in qtp?

1158


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.

7612


give me the code to save all messages of inbox of gmail into a folder and notepad

2165


Mention the test steps of qtp.

1059


What are the advantages of qtp?

1049


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

2165


If created one virtual object? Next time I changed the window position will it work?

1078