07-22-2015, 06:33 PM
Hi,
Thanks, I tried this,
It gives count as 62. And we obviously don't have 62 webbuttons on Google homepage, When I also added property value "name:=Google Search" still gave count as 62 when only one 'Google Search' button is thr on google homepage. Is above code giving total no. of all child objects on homepage. pls see attachment
So, how to retrieve count specifically for any object like webbutton, links etc using static programming.
Thanks for the help!
Thanks, I tried this,
Code:
Set P = Browser("creationtime:=0").page("title:=Google").Childobjects(WebButton("type:=submit", "html tag:=INPUT"))
MsgBox P.Count()
It gives count as 62. And we obviously don't have 62 webbuttons on Google homepage, When I also added property value "name:=Google Search" still gave count as 62 when only one 'Google Search' button is thr on google homepage. Is above code giving total no. of all child objects on homepage. pls see attachment
So, how to retrieve count specifically for any object like webbutton, links etc using static programming.
Thanks for the help!