GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 564 of 646    Print  
How to find out the count of open browsers by using QTP?
In my application, when we click on some links it opens a new browser. I want to know how many browsers are open at a particular time.


  
Total Answers and Comments: 2 Last Update: February 25, 2008     Asked by: Raju 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 21, 2007 05:49:07   #1  
Sycho Member Since: November 2007   Contribution: 66    

RE: How to find out the count of open browsers by usin...
Hi,

You can do this by using Browser Identification Property CREATION TIME. Creation Time is an ordinal identifier that QTP assigns to the browser to indicate the order in which the browser was opened relative to other open browsers.

Cheers
SYCHO the great

 
Is this answer useful? Yes | No
February 25, 2008 07:51:02   #2  
ramupalanki Member Since: December 2007   Contribution: 10    

RE: How to find out the count of open browsers by using QTP?
Below is the answer to ur question

Set BrowserObj = Description.Create
BrowserObj("micclass").Value = "Browser"
Set Obj = Desktop.ChildObjects(BrowserObj)
Msgbox Obj.Count

Let me know if am going in wrong direction




 
Is this answer useful? Yes | No

 Related Questions

In Quick Test Pro 8.21. While Recording/writing the Script i want to know the " Selecting Tab Position Action Script".Eg: Window contains 4 tab positions i would like to select 2 tab position at that time how script will come. plz write the script and send me. 2. How can i generate and select Tree View in Programatically. Eg: Mycomputer Contains all drives information like as below. +My Computerwhen i press + Symbol My Computer will Expand that format like-- My Computer Drive

Hello,I'm using QTP 8.2. and I want to test an Application which is designed with Oracle Forms 10 g.Before installing the Oracle Addin for QTP 8.2. I was able to open the Application with QTP and IExplorer 6.0.After Installing the Oracle Addin for QTP 8.2. I wasn't able to open the Application neither with QTP nor ÍExplorer.I only installed the Addin. I haven't installed any upgrade or patch!The following failure is shown in the JAVA Console after starting the application:java.lang.VerifyError:
Read Answers (5) | Asked by : SPortz

Hi Fellowmates...i am pretty new entrant into this. I am on QTP and into the beginning of it. I really need lot of support and help from your end. When do we go with Object Repository and also the error handling. When i was running the script i got 2 messages for 2 runs saying that :-Cannot find the 'keyword' objects parent "mainContent"(class frame) Verify that parent properties match an object currently displayed in your application.Cannot identify the object "main_content_3'
Read Answers (4) | Asked by : CHAKRATENG

I am testing a Java executable application and and IE based application.I have a script that I would like to launch the Java executable, enter a record in the database, the switch over to IE and search the database. Currently I am having trouble: 1) The java EXE cannot be launched from the QTP command line. So my run settings are run on any open Java application. This is not preferable and right now DEV cannot figure out why QTP can launch other Java apps and not ours. So when I start the script

1. I don't want my application to open when while running the scripts. is it possible through QTP like that?2. Is it possible to make 100 users login at the same time to check load through QTP?

I want to use QTP to test web application. in that application there is one menu like file and under that there are diff menus like create, new,open etc. so while recording if i click on new then it get recorded. but in new when i click on new then its not get recorded. why this is happening?
Read Answers (5) | Asked by : madhavi

How to use global variables in QTP?also how to pass parameters between different actions?where to find info on functions?
Read Answers (2) | Asked by : Ritu

I am writing a script that has three apps that I am trying to run tests on.Internet Explorer & two java apps that we are building Case Initiation Minutes I have all three applications set to launch in Record and Run Setting. IE launches through the usual browser tab and I have added the direct urls for each of the java applications.So each line is javaws http://............ The first problem is that multiple instances of the two java applications end up launching. I don't
View Question | Asked by : waynehazle

Cannot find the "/ /" object's parent "Order: cfo I116222" (class Window). Verify that parent properties match an object currently displayed in your application.Hw to rectify that error?
Read Answers (1) | Asked by : Srini

I am trying to connect to Oracle in QTP but its not workingI hv written a code as - Set conn = CreateObject("ADODB.Connection")Set rs = CreateObject("ADODB.Recordset")SQL_Statement = "SELECT COUNT(*) FROM ACCOUNTconn.Open "Provider=OraOLEDB.Oracle;Driver={Microsoft ODBC Driver for Oracle};ConnectString=Test.WORLD;Uid=bds_read;Pwd=bds_read;"Its giving me error as - DSN not found or provider not foundBut I have created SYSTEM dsn as Test.WorldCould anybody suggest


 Sponsored Links

 
Related Articles

What is the use of COUNT with DISTINCT option

COUNT is a group function returns result by summarizing multiple rows. All group by value function will have the usage of DISTINCT or ALL option and so is the COUNT which uses the DISTINCT option. DISTINCT option is used to enforce uniqueness and  if combined with COUNT is used to
 

JavaScript Window Object Open Method Part 2

JavaScript Window Object Open Method Part 2 In this JavaScript tutorial you will learn about JavaScript Window Object Open Method features of window object open method scrollbars status titlebar toolbar top width innerHeight innerWidth outerHeight outerWidth and hotkeys mosgoogle center scrollbars S
 

JavaScript Window Object Open Method

JavaScript Window Object Open Method In this JavaScript tutorial you will learn about JavaScript Window Object Open Method features of window object open method channelmode directories dependent fullscreen screenX screenY height left location menubar resizable alwaysLowered alwaysRaised mosgoogle ce
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape