Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11 - Idenifying Window Object instead of Browser
#1
Not Solved
We were using QTP 10 and IE 7 before. Now we are migrating to QTP 11 with IE 8. Normal object changes includes window objects like login pop up windows,warning messages etc. I have identified such things and updated the OR. Whenever I run the script,IE is being launched...QTP is identifying it as a window object.(I have placed a break point in the conditional statement for checking the browser availability.) But if I close the browser and reopen it manually and then check the conditional statement.... its working fine.. why this is not happening the first time. Please suggest any idea....
Reply
#2
Not Solved
I guess the issue is something like this...

1. You open ur Browser and then launch ur QTP, in this case QTP doesn't identify the browser.
2. When You launch ur QTP first and then open ur Browser, it identifies the objects.

If my understanding is correct, well this happens in few cases. So try to open the Browser after the QTP is launched or as a best practice always open the browser through QTP.

Hope it helps you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to identify Child Object for a window application created using C#. ssanjeev 3 6,207 03-27-2017, 05:38 AM
Last Post: ankita
  In QTP 11, Browser is getting identified as Window priyaang 5 3,802 03-27-2014, 12:59 PM
Last Post: priyaang
Shy Qtp 11 recongnise Browser as a window swati 7 14,579 02-29-2012, 05:56 PM
Last Post: zeeshanyshaikh
  QTP 10 is identifying the browser as Window hershy 3 4,817 01-20-2012, 09:27 AM
Last Post: ravi.gajul
  QTP 10.0 - Unable to identify web object with 'Window' class cmyee99 1 7,560 06-02-2011, 01:09 PM
Last Post: raaga

Forum Jump:


Users browsing this thread: 1 Guest(s)