I have been into this issue for a long time now.
I have a web table with some radio buttons as WEBRADIOGROUP and a set of Links.
All I need to do is select the radio button matching the link. However, the count of the desired link does not match with the radio button and I ahve written this piece of code to find the exact number of radio button to be selected after finding the matching link.
I am however not able to select the radio button required.
See my code...
'Now Create the pageItem radio button and then select
Set obj_PageItemSelect = Description()
obj_PageItemSelect.Value("name") = "pageitem"
obj_PageItemSelect.Value("html tag") = "INPUT"
'Create the Radio Group description to select.
For intCnt=1 to objHier.WebTable(obj_WebTableName).RowCount
If objHier.WebTable(obj_WebTableName).ChildItemCount( intCnt,1,"WebRadioGroup")<>0 then
If objHier.WebTable(obj_WebTableName).GetCellData(int Cnt,5)=strSelection Then
objHier.WebRadioGroup(obj_PageItemSelect).Select "#" & intIdx
objHier.WebTable(obj_WebTableName).ChildItem(intCn t,1,"WebRadioGroup",0).Select "#" & intIdx