Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
please help for no of links
#1
Solved: 10 Years, 10 Months, 4 Weeks ago
this code does not give total no of links on some websites like flipkart.com
Code:
Dim des, obrowser, opage,a
Set des = description.Create
des("micclass").value = "Link"

Set obrowser = description.Create
obrowser("micclass").value = "Browser"

Set opage = description.Create
opage("micclass").value = "Page"

set a = browser(obrowser).page(opage).ChildObjects(des)
val = a.count
print "total no of link = "&val

For i=1 to val-1
print a(i).getROProperty("name") & vbnewline
Next
Reply


Messages In This Thread
please help for no of links - by excellentpawan - 06-14-2013, 09:44 AM
RE: please help for no of links - by ssvali - 06-14-2013, 12:16 PM
RE: please help for no of links - by vinod123 - 06-14-2013, 02:22 PM
RE: please help for no of links - by Staff - 07-05-2013, 01:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)