11-15-2011, 05:04 PM
Code:
set oMyObj = Description.Create
oMyObj("micclass").Value = "WebRadioGroup"
'Set myList = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(oMyObj)
Set myList = Browser("Hot Remit").Page("Hot Remit").Link("User Types").ChildObjects(oMyObj)
Msgbox myList.Count
For i = 0 to myList.Count-1
Browser("Hot Remit").Page("Hot Remit").WebRadioGroup("pid").Select "4"
intItemsCount = myList(i).GetROProperty("items count")
Msgbox intItemsCount
Next
as the link contains 4 webradiobuttons but it is displaying as 0 what is the reason which i couldn't find out