Hi,
I tried the following code in QTP 10, but it doesnot work. Count is still returning zero.
Dim oDesc,arrLinkObjects
set oDesc=Description.Create
oDesc("Class Name").Value="Link"
oDesc("Class Name").RegularExpression = false
Set arrLinkObjects=Browser("Class Name:=Browser").Page("Class Name:=Page").ChildObjects(oDesc)
msgbox arrLinkObjects.Count
Note: I am using IE9. Even when I use the recorded browser and page objects, the count always returns zero.
Could you please help me ?
Thanks,
Mansi