Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Diff. between page checkpoint link count and childobj count
#1
Not Solved
Hi,

I just want to know is there a difference between the number of links displayed in page checkpoint and the count displayed in the ChildObjects of type link?

Here is my script:
Code:
Browser("Browser").Page("Yahoo!").Check CheckPoint("Yahoo!") 'here in the page checkpoint the number of links are displayed as 172

Set descObj=description.Create()
'descObj("Class Name").value="Link"    here it returns an error
descObj("micclass").value="Link"
temp=browser("Browser").Page("Yahoo!").ChildObjects(descObj).count
msgbox(temp) 'here the count is displayed as 154

Thanks & Regards,
Uday.
Reply


Messages In This Thread
Diff. between page checkpoint link count and childobj count - by anemuday - 07-20-2008, 10:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Identify and Count the columns in the datatable Bhuvana 0 939 12-20-2019, 11:15 PM
Last Post: Bhuvana
  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
  Row count is always shown as 1 Harry1999 0 2,091 04-14-2016, 11:11 PM
Last Post: Harry1999
  VB Script to count number of links in a web page. Suma Parimal 4 25,265 07-01-2015, 12:59 PM
Last Post: govind
  XML diff comparison bubblehead 0 5,711 05-21-2014, 12:01 PM
Last Post: bubblehead

Forum Jump:


Users browsing this thread: 2 Guest(s)