Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retreive Title for an Already Open Browser
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Use the following code inorder solve your problem.
it will give you all the browsers titles one by one opened in the desktop

Code:
Set Titles=description.Create()
Titles("micclass").value="Browser"
Set Brows=Desktop.childobjects(Titles)
NoOfBrowsers=Brows.Count
for i=0 to NoOfBrowsers-1
TitleofBrowser=Browser("creationtime:="&i).GetRoProperty("title")
msgbox TitleOfBrowser
next


Regards

Ramu
Reply


Messages In This Thread
RE: Retreive Title for an Already Open Browser - by ramu - 06-11-2008, 09:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Script not getting title in IE UFT_Newbie 1 2,622 09-25-2014, 10:16 AM
Last Post: vinod123
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,530 03-11-2014, 12:13 PM
Last Post: devarapallliramana
  How to use GetRoProperty for title svsaug6 2 9,709 08-26-2013, 03:36 AM
Last Post: Novemberrain81
  Sendkeys to close an open web browser prasadworld321 2 8,497 03-05-2010, 12:23 PM
Last Post: prasadworld321
  Want to open a new browser window with new session umer830 1 8,102 01-18-2010, 04:45 PM
Last Post: satan

Forum Jump:


Users browsing this thread: 1 Guest(s)