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

We stored into the objects OR and then write the scripting

1970


What are metrics and matrix?

1742


Does QTP run in any environment?

1016


how u will evaluate the tool for test automation?

1791


What are the Application Functions available in QTP?

1950


Which recording modes need more memory?

1001


Connect to QC using AOM.

1635


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

2026


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

2160


What are the challenges u faced in testing with crm domain? How u overcome with?

1890


How to run a test using quicktest professional?

909


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3972


Explain how to use QTP to check broken links on a page?

950


What is post recovery scenario?

2192


How to use the object spy in quicktest professional (qtp) 8.0 version?

897