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

Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?

1 Answers   IBM,


what are the metrics in general we use in testing.

6 Answers   TCS,


Can we record an application running on a remote machine using qtp?

0 Answers  


how can i call function (which has link with excell sheet at a remote location) within another function

0 Answers  


In real time ,How to run all scripts in QTP? i,e in projects

3 Answers  


Explain how you can find length of array in qtp?

0 Answers  


what is smart identification in qtp? pls any give details? thanks in advance

3 Answers   IBM,


What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece

1 Answers   HCL,


How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?

1 Answers  


What is difference between Class and MicClass

2 Answers  


who will distribute the project modules for testing in testing team ?

2 Answers  


What is the difference between client server application and web based application?

3 Answers   IBM,


Categories