Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
web objects Recognises as window objects while using DP
#1
Not Solved Exclamation 
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
Reply
#2
Not Solved
Are you using previously opened browser or opening new browser while each recording session?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Check for the existance of multiple objects richard_paul 0 1,047 04-03-2020, 11:17 PM
Last Post: richard_paul
  Application UI Changed, not detecting earlier objects firozkannur 0 977 05-30-2019, 11:20 AM
Last Post: firozkannur
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,162 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
Question Is there a way to create dynamic objects by declaring the type of object as parameter lotos 3 2,181 11-08-2017, 11:15 PM
Last Post: lotos
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,826 06-07-2017, 01:41 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)