Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Link count
#1
Not Solved
Hi

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?
Reply


Messages In This Thread
Problem with Link count - by mahadevan.swamy1 - 01-23-2011, 07:25 AM
RE: Problem with Link count - by sreekanth chilam - 01-23-2011, 10:01 PM
RE: Problem with Link count - by UFTEnthusiast - 01-24-2011, 02:25 AM
RE: Problem with Link count - by mahadevan.swamy1 - 01-24-2011, 06:06 AM
RE: Problem with Link count - by cdesserich - 01-24-2011, 09:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem in identifying link vijay44 2 2,065 02-09-2010, 10:08 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 2 Guest(s)