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

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

Set Links = Browser("title:=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

Make sure that the browser is opened, after QTP application is launched
Reply


Messages In This Thread
RE: Unable to get the total links on my webpage - by govi - 02-18-2011, 12:11 PM

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,213 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: 4 Guest(s)