Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to identify top browser from a lot of browsers?
#13
Solved: 10 Years, 9 Months, 2 Weeks ago
Here it is very simple......... in for loop it starts (0) first browser to (browco-1) recent browser.... you can get any info about any browser on desktop by using below code and just modify as per your requirement

Code:
Dim bro
Set bro=description.Create
bro("micclass").value="Browser"

Set brow=desktop.ChildObjects(bro)
browco=brow.count
print browco

For i=0 to browco-1
    ind=brow(i).getroproperty("text")
    print ind
Next
Reply


Messages In This Thread
RE: How to identify top browser from a lot of browsers? - by bfakruddin - 03-12-2009, 04:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Running test with multiple browsers mvi63 0 2,684 06-25-2014, 06:49 PM
Last Post: mvi63
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,308 03-11-2014, 12:13 PM
Last Post: devarapallliramana
Rolleyes QTP 11 not identify PDF Browser laxminaranaya 1 2,250 02-25-2014, 01:34 PM
Last Post: guin.anirban
  Multiple 2 IE browsers are being displayed VA1405 1 1,774 01-15-2014, 07:20 AM
Last Post: basanth27
  Will Object Property Differ across browsers?? qtplearner88 7 3,814 07-30-2013, 07:18 PM
Last Post: qtplearner88

Forum Jump:


Users browsing this thread: 1 Guest(s)