05-27-2009, 06:14 PM
Hi I am trying to count total no of weblist from the web page.
I have written following script.
But it gives result as 0.However there are 2 weblist present on the page.
Why it showing result as 0 ?
Can anybody point the mistake ?
I have written following script.
But it gives result as 0.However there are 2 weblist present on the page.
Why it showing result as 0 ?
Code:
SystemUtil.Run"IEXPLORE.exe","http://www.google.com"
Set Butobj = Description.Create()'Forweblist
Butobj("micclass").value = "weblist"'For weblist
Butobj("html tag").value="select"'For weblist
Browser("name:=google").page("title:=google").link("innerhtml:=preferences").click
set collection=browser("name:=preferences").page("title:=preferences").childobjects(Butobj)
msgbox collection.count
Can anybody point the mistake ?