02-23-2010, 05:03 PM
Code:
systemutil.run "www.yahoo.com"
browser("name:=Yahoo").activate
browser("name:=Yahoo").page("name:=Yahoo_Page").weblink("outerhtml:=Inbox").click
Code:
dim des
set des=description.create
des("micclass").value="Link"
set cnt=browser("yahoo").page("yahoo_page").childobject(des)
msgbox cnt.count
for i=0 to cnt.count-1
val_name=cnt(i).getroproperty("outerhtml")
if (val_name=Inbox) then
cnt(i).click
end if
Next
set des=nothing