Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB Script to count number of links in a web page.
#5
Solved: 8 Years, 3 Months, 2 Weeks ago
Code:
systemutil.Run"iexplore.exe","http://www.google.com"
set aa=description.create
aa(html tag).value="A"
set bb=Browser("title:=google.*").page("title:=google.*").childobjects(aa)
cc=bb.count
msgbox cc
Reply


Messages In This Thread
RE: VB Script to count number of links in a web page. - by govind - 07-01-2015, 12:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Object Unique ID Number zunebuggy 0 1,560 07-10-2017, 05:37 PM
Last Post: zunebuggy
  click each web link in a page using Index or other method in QTP smeijer 13 24,715 04-29-2017, 04:53 PM
Last Post: kowshik
  This code does not give total no of links present on page plz help it returns 0 excellentpawan 8 5,636 01-17-2015, 07:49 PM
Last Post: yogi4tech
  I want to count total no of links in a page and click one by one excellentpawan 9 7,263 07-23-2013, 11:51 AM
Last Post: Ankur
  Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) sumitparolkar@gmail.com 4 5,090 05-03-2013, 11:53 PM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 2 Guest(s)