07-20-2008, 10:11 PM
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:
Thanks & Regards,
Uday.
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.