1. How to fetch the title of opened browser using UFT?
Variable Declaration
Dim sTitle , objDesc ,objBrowser
'Creating Description Object
Set objDesc = Description.Create
'Description object is pointing to Browser
objDesc("micclass").value = "Browser"
'Fetching all the opened Browser
Set objBrowser = Desktop.ChildObjects(objDesc)
'Taking the tile of the opened browser using GetROProperty
For iCounter = 0 to objBrowser.Count -1
MsgBox "Title of opened browser is " & objBrowser(iCounter).GetROProperty("title")
Next
How to fetch title value using Selenium
2. Fetching all the items present on the Desktop
'Declaring Variables
Dim sItems
'fetching the items present on Desktop
sItems = Window("regexpwndclass:=Progman","regexpwndtitle:=Program Manager").WinListView("nativeclass:=SysListView32").GetROProperty("all items")
'Displaying the results
MsgBox sItems.count
3.How to get the count of the Google search Result ?
4.Using GetRoProperty to get count of WebList items?