01-23-2011, 07:25 AM
Hi
I was doing a small descriptive programming:
I debugged this code on the page where the "BlueDental Care (Prepaid)" link was actually there but the linkcount returned 0. How is this possible?
I was doing a small descriptive programming:
Code:
Set odesc = description.Create
odesc("micclass").value = "Link"
odesc("innertext").value = "BlueDental Care(Prepaid)"
Set MyChildObj = Browser("index:=0").Page("index:=0").ChildObjects(odesc)
linkcount = MyChildObj.count
If linkcount > 0 Then
Result = "PASS"
Else
Result = "FAIL"
End If
I debugged this code on the page where the "BlueDental Care (Prepaid)" link was actually there but the linkcount returned 0. How is this possible?