Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to get the total links on my webpage
#7
Not Solved
This should give you the total number of links in your page. This only works if you use IE browser.

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
Reply


Messages In This Thread
RE: Unable to get the total links on my webpage - by KeepWalking - 03-03-2011, 04:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Capture All text from webpage and copy it... mpatra 3 5,261 07-25-2018, 05:33 PM
Last Post: vimlesh
  Reading XML Data from a WebPage shaan.mishra87@gmail.com 1 2,212 09-28-2016, 09:16 PM
Last Post: supputuri
  Using static descriptive programming how to count no. of objects on any webpage alpha1 4 6,989 08-11-2015, 08:48 PM
Last Post: kotaramamohana
  I want to click on all the links in the webtable. These links are nothing but some co abhideshpande001 0 2,658 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Fetching total number of records inside a webtable vidya2k2 2 3,899 06-15-2015, 02:55 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 3 Guest(s)