QTP - Conditional links count

Hi,

I am new for QTP.

I have so many links in my page. but i want to count particular links among them.
But all links properties are same.
so now i have to add the new property for that group of links and count that.
i added the new property for that links
but i got general error

i add new property for the link in object repository and the object identification
name is val
Value is L

I write the code
Set descrip = description.Create()
descrip("html tag").value = "A"
descrip("val").value = "L"
Set v = Browser("B").Page("P").ChildObjects(descrip)
N=v.count
msgbox N

Plz help me to find out the group of link counts from my web page.

Questions by Punitha.R   answers by Punitha.R

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions