03-03-2011, 04:16 AM
This should give you the total number of links in your page. This only works if you use IE browser.
If the above does not work, try below.
Code:
msgbox Browser("title:=Yahoo! Mail: The best web-based email!").Page("title:=Yahoo! Mail: The best web-based email!").Object.all.tags("a").Length
If the above does not work, try below.
Code:
msgbox browser("name:=.*").page("name:=.*").Object.all.tags("a").Length