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...

if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?

Answer Posted / ashok

closedCount = SystemUtil.CloseProcessByName("iexplore.exe")

'Display # of closed windows
MsgBox closedCount


If you want to know more refer this link
http://www.knowledgeinbox.com/documents/closingprocesses.html

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp?

1059


how do i know how to use tools

2000


Who uses qtp tool?

990


What are the different types of recovery operation?

1023


How to use setroproperty?

1007


after click on compose mail how can we attached a file in qtp with vbscript code

2180


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

2197


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2582


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1867


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2313


What are the views available in qtp?

1044


What is the purpose of loading qtp add-ins?

1186


What do you mean by iteration?

1208


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

2020


What are the properties you would use for identifying a browser and page when using descriptive programming?

1023