ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How can we close all webbrowsers which are opened in out 
desktop?
 Question Submitted By :: Prasann.p
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we close all webbrowsers which are opened in out desktop?
Answer
# 1
while Browser("Creation Time:=0").Exist
Browser("Creation Time:=0").Close
Wend
 
Is This Answer Correct ?    0 Yes 1 No
Sheela
 
  Re: How can we close all webbrowsers which are opened in out desktop?
Answer
# 2
use systemutil.closeprocess method
 
Is This Answer Correct ?    4 Yes 0 No
Mastanbabu
 
 
 
  Re: How can we close all webbrowsers which are opened in out desktop?
Answer
# 3
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 ?    1 Yes 0 No
Pramod K Sirotia
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
1. Can anyone help me with recovery scenarios, each type with examples and also what is on error resume next?  1
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri  7
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc Keane-India-Ltd5
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???  1
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer Cimcon3
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.  1
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP HP1
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0  1
what is a good testcase? Wipro2
hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script  4
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.  2
Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE) Four-soft3
Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)  2
what is recovery manager and recovey scenerio? BirlaSoft2
Can anybody send me the code to get the RO property of the active screen in QTP while running?  8
what type of test cases tou will automate? Google3
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work? Wipro3
What is the difference between Datadriven and Parameterization? Ordain-Solutions8
QTP is used better in which type of application Web based application or desktop application  2
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.  4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com