Tuesday, July 17, 2012

Sample script to handle the web page with window object

DIM wIEWinObjectSet 

wIEWinObject = Window("regexpwndtitle:= .*Windows Internet Explorer.*|.*Microsoft Internet Explorer.*","regexpwndclass:=IEFrame","isowned window:=False","is child window:=False").WinObject("regexpwndclass:=Internet Explorer_Server")


wIEWinObject.Type "apple"


rc = Browser("iGoogle").Page("iGoogle").WebTable("html tag:=TABLE","class:=gssb_e").GetROProperty("text")

msgbox rc

No comments:

Post a Comment