QTP acts weird with Google Chrome

Question ID: 104608
0
0

I’m trying to work with QTP and Google Chrome browser. Sometimes when testing, for some reason my objects quit being seen by QTP as web and only are seen as Windows. I use Chrome all the time, so my updates are current as far as I know. I also have all of the available web patches and the weird thing is it works most of the time.

Marked as spam
Posted by (Questions: 4, Answers: 0)
Asked on September 19, 2012 12:07 pm
16 views
Answers (1)
2
Private answer

You probably are using multiple tabs while you are working with Chrome and QuickTest Pro. I have found that QTP only works correctly on the initial tab, and if that first one is closed, the rest of the tabs are not seen by QTP 11. You can see this by the following:

1. Launch QTP with the Web add-in selected.
2. Launch Chrome.
3. Use the Object Spy in QTP to spy on a web page. You should see web objects.
4. Open another tab.
5. Close the original tab.
6. Use the Object Spy to see the web objects. You will see that it now sees them as standard Windows objects.

You'll have to be careful to watch for this behavior, as it can cause confusion and it may seem like QTP is not working correctly anymore, which isn't exactly the case.

Marked as spam
Posted by (Questions: 2, Answers: 464)
Answered on September 19, 2012 12:09 pm