ALLInterview.com :: Home Page            
 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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
several browsers opened. write QTP script to close all browsers except gmail.
 Question Submitted By :: Nrusingha.acharya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: several browsers opened. write QTP script to close all browsers except gmail.
Answer
# 1
Dim d
Set d=Description.Create
d("micclass").value="Browser"
Set a=Desktop.ChildObjects(d)
For i=0 to a.count-1
s=a(i).GetROProperty("title")
If instr(1,s,"Gmail")=0 Then
a(i).Close
End If
Next
 
Is This Answer Correct ?    14 Yes 1 No
Puspita
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is dynamic arrays Patni1
what is the main process in QTP? Ordain-Solutions3
How to handle recovery scenario for a application crash.write script for this. Polaris2
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP? CTS3
What type of VB script u had done in expert view?  1
Which Databases supports for QTP? CTS3
What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance... Navis5
How do we connect QC by using QTP? Infosys2
How to create a Runtime property for an object in QTP?  6
Hi. GetRoProperty and OUTPUT Value Both are same purpose or not? plz explain in deatil with example?  4
Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how? Oracle6
What is your role and responsibilities in QTP with your current organization? Oracle1
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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