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 close all webbrowsers which are opened in out
desktop?

Answers were Sorted based on User's Feedback



How can we close all webbrowsers which are opened in out desktop?..

Answer / mastanbabu

use systemutil.closeprocess method

Is This Answer Correct ?    4 Yes 0 No

How can we close all webbrowsers which are opened in out desktop?..

Answer / pramod k sirotia

Please Use Following Method:
SystemUtil.CloseProcessByName
By this method Not only webbrowser even any porcess can be
close.

For ex:
Writ this code in QTP Editor
' Below 3 statement will invoke 3 web Browsers
SystemUtil.Run "iexplore.exe"
SystemUtil.Run "iexplore.exe"
SystemUtil.Run "iexplore.exe"
'Below Statement will Close all 3 opened web Browser
SystemUtil.CloseProcessByName "iexplore.exe"

Is This Answer Correct ?    2 Yes 1 No

How can we close all webbrowsers which are opened in out desktop?..

Answer / sheela

while Browser("Creation Time:=0").Exist
Browser("Creation Time:=0").Close
Wend

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?

6 Answers   Oracle,


anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???

1 Answers  


what is impact analysis on regression testing?

0 Answers   L&T,


Hi All, Can anyone provide me the license for QTP 9.5.... My Email ID: khanbro@rediffmail.com

0 Answers  


what will be the stmt if record any edit box in the Web application ?

2 Answers   eSymbiosis,


How to handle the exceptions using the recovery scenario manager in qtp?

0 Answers  


i can done the project with QTP in that time i can say how many members in my team size?

0 Answers  


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,


Which functionalities of QTP used in banking project?

0 Answers  


What is API

2 Answers   Satyam,


what is the extension of new local object repository?

5 Answers  


What is the difference between Datadriven and Parameterization?

8 Answers   Ordain Solutions,


Categories