Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11 wrongly identifies Browser Count as 2
#1
Not Solved
Code:
Set objBrowser = Description.Create
    objBrowser("micclass").value = "Browser"
    
    Set colBrowser = Desktop.ChildObjects(objBrowser)
    iTotBrowser = colBrowser.count
    msgbox iTotBrowser

Above code gives msg as 2.Though I have opened only one browser.

In Task Manager ,there are multiple iexplore.exe instances for single browser.

Using QTP 11 && IE 9
Can any one help me in this.>?
Reply
#2
Not Solved
That's the design of IE9, you will always find 2 iexplore.exe instances - if I have to explain this behaviour simply first instance is for the IE browser itself and another one is for the first tab.

You have to turn off the multi tab option in IE settings, so that you will get browser count as one (forget about the Iexplorer.exe process - if you looking to work on the process itself that's a complete different story).

Let me know if you need any more information on this.
Thanks,
SUpputuri
Reply
#3
Not Solved
Hi Supputri ...I have turned off Multi Tab option in IE Settings..Still am getting 2 Browser count..And even now there are 2 instances od Iexplorer.exe process...

Thanks in Advance...Can you please suggest any other work around for this issue...?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,447 03-11-2014, 12:13 PM
Last Post: devarapallliramana

Forum Jump:


Users browsing this thread: 1 Guest(s)