Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to get the total links on my webpage
#9
Not Solved
Hi RGummadidala,

i hope this will help u

Code:
Dim obj_Desc
Set obj_Desc = Description.Create
obj_Desc("micclass").Value="Link"

Set Links = Browser("name:=Yahoo! Mail: The best web-based email!").Page("title:=Yahoo! Mail: The best web-based email!").ChildObjects(obj_Desc)
Msgbox "Number of Links " & Links.Count

in previous post the issue with Browser("title:=yahoo") is not correct way , you have to use "name" instead of "title" for Browser("name:=yahoo"), v will use title for Page("title:=yahoo") only



or


Code:
Dim obj_Desc
Set obj_Desc = Description.Create
obj_Desc("micclass").Value="Link"

Set Links = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj_Desc)
Msgbox "Number of Links " & Links.Count

Thanks & Regards,
G@veyom
Reply


Messages In This Thread
RE: Unable to get the total links on my webpage - by gaveyom - 09-09-2011, 12:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Capture All text from webpage and copy it... mpatra 3 4,917 07-25-2018, 05:33 PM
Last Post: vimlesh
  Reading XML Data from a WebPage shaan.mishra87@gmail.com 1 2,045 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,731 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,576 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Fetching total number of records inside a webtable vidya2k2 2 3,664 06-15-2015, 02:55 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 2 Guest(s)