06-27-2012, 12:18 PM
(This post was last modified: 06-27-2012, 12:20 PM by kotaramamohana.)
Hi Friends,
Whether function can return number of Links and their names in a web page. I have tried but I am getting error as "Wrong number of arguments or invalid property assignment"
Here is my code:
Can you please share your ideas
Whether function can return number of Links and their names in a web page. I have tried but I am getting error as "Wrong number of arguments or invalid property assignment"
Here is my code:
Code:
n=abc()
msgbox n.count
Public function abc()
Set linkdesc=description.Create
linkdesc("micclass").value="Link"
Set objlink=browser("g").Page("g").ChildObjects(linkdesc)
abc=objlink
End Function
Can you please share your ideas