Micro Focus QTP (UFT) Forums

Full Version: web objects Recognises as window objects while using DP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Are you using previously opened browser or opening new browser while each recording session?