01-24-2011, 02:25 AM
(This post was last modified: 08-02-2020, 01:42 AM by UFTEnthusiast.)
Try with following code:
Hi
I was doing a small descriptive programming:
Thanks,
Hi
I was doing a small descriptive programming:
Code:
Dim odesc
Dim linkcount
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
Thanks,