QTP Code:
hwnd = browser("creationtime:=1").GetROProperty("hwnd")
Msgbox window("hwnd:=" & hwnd).getroproperty("maximized")
However, this code won't work with IE7.
hwnd = browser("creationtime:=1").GetROProperty("hwnd")
Msgbox window("hwnd:=" & hwnd).getroproperty("maximized")
However, this code won't work with IE7.
No comments:
Post a Comment