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

how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

0 Answers  


What is the concept of hooking in QTP?

1 Answers  


How to save your test using quicktest professional (qtp)?

0 Answers  


in a web page How to check and display a particular word from a paragraph?

0 Answers  


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

0 Answers   IBM,


suppose our project is developed using java technologies.after complition of the coding developer relesed a build to the testing team.so, what is the process means how we open that documents?what are that documents?plz give reply its urgent

2 Answers  


WHAT ARE THE DISADVANTAGES OF SHARED REPOSITORY?

9 Answers   BirlaSoft,


what are the principles of good testing scripts for automation?

1 Answers  


What is LoadRunner?

1 Answers   Crea,


write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?

3 Answers   IBM,


how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch

7 Answers   ADP, Hydus,


How is UFT 11.5 version different from UFT 12.0?

0 Answers  


Categories