Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find more than one application(AUT) instances are opened.
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,

If your application is web based application:
Code:
OnErrorResumeNext
browsercount=0
For temp=1 to 100000 step 1
intbrowser=Browser("xxxxxxxxxxxxx").GetRoProperty("Creation time")
     If len(intbrowser)>=1) Then
          browsercount=browsercount+1
     End If
     If (len(intbrowser)=0) Then
        Exit For
     End If
Next
After executing this script finally you would get the instances i.e browsercount.

Please let me know for further clarification.
Reply


Messages In This Thread
RE: How to find more than one application(AUT) instances are opened. - by venkatbatchu - 08-06-2010, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile find out of spelling error in Web application deveshbhatt29 1 2,207 01-10-2014, 05:10 PM
Last Post: Maheep_bhambri
  Unable to send an email from Outlook which is already opened as draft attiliv 0 2,237 03-24-2013, 11:14 AM
Last Post: attiliv
  Download Files from AUT using QTP script qtptest 2 6,699 10-27-2012, 10:21 AM
Last Post: qtptest
  How to identify the object reference to the existing(already opened) Excel sheet yogeesh 1 9,952 09-26-2012, 07:00 PM
Last Post: krr
  how to disable a popup window opened during clicking links of a webpage sanjeebpatel 2 3,054 12-28-2009, 11:40 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)