04-25-2011, 03:15 PM
Code:
Set objExplorer=createobject("InternetExplorer.Application")
objExplorer.visible=True
wait 10
objExplorer.Navigate("www.gmail.com") '// Navigate to the Easel URL
hwndval=objExplorer.hwnd '// Retrieving handler value for browser
window("hwnd:="&hwndval).Maximize '// Window Maximize
After running above script in qtp, in the same script if i record the steps for login of gmail or anything other steps of gmail, its not getting recorded.
There are few lines below the script what we do in gmail. Those web objects are recognised as win objects in qtp. scripts stops running.
objspy -> recognises gmail as winobj
Note: QTP 9.2 seatlicense