Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No. of Browsers
#3
Not Solved
stevol Wrote:You can use the Description.Create & ChildObjects. For example:

Code:
Set brow = Description.Create()
brow("application version").value="internet explorer 6"
Set browobj = desktop.ChildObjects(brow)
NoOfChildObjs = browobj.Count

msgbox NoOfChildObjs

For Counter=0 to NoOfChildObjs-1
    msgbox browobj(counter).getroproperty("name")
Next

browobj(0).close

that is you build an array [ -> browobj ] in which each element is a browser (and with Description.Create you can better specify the properties)

Thanks Stevol,

I will get that no. of browsers opened and their names by using description.create,

Can I close particular browser without using description.create,
Reply


Messages In This Thread
No. of Browsers - by bfakruddin - 01-12-2009, 03:16 PM
RE: No. of Browsers - by stevol - 01-13-2009, 07:51 PM
RE: No. of Browsers - by bfakruddin - 01-19-2009, 05:42 PM
RE: No. of Browsers - by stevol - 01-19-2009, 06:28 PM
RE: No. of Browsers - by sreekanth chilam - 01-20-2009, 03:06 PM
RE: No. of Browsers - by bfakruddin - 01-20-2009, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Running test with multiple browsers mvi63 0 3,080 06-25-2014, 06:49 PM
Last Post: mvi63
  Multiple 2 IE browsers are being displayed VA1405 1 2,282 01-15-2014, 07:20 AM
Last Post: basanth27
  Will Object Property Differ across browsers?? qtplearner88 7 4,920 07-30-2013, 07:18 PM
Last Post: qtplearner88
  Can I use the index ordinal identifier for different browsers and page? Uma 2 4,063 08-25-2011, 03:33 AM
Last Post: Uma
  How to automate detection of type and version of browsers mikek12f 0 1,931 06-07-2009, 07:52 PM
Last Post: mikek12f

Forum Jump:


Users browsing this thread: 1 Guest(s)