Question

I'm using QTP 11.0 on Win 7 Pro SP1. I'm an absolute beginner on QTP.

I'm trying the Mercury Tours tutorial.

When I use Object Spy, any object that is specific to the web page is not recognized. The Object Hierarchy simply shows:

Window
  WinObject

However, some objects that are specific to the browser are shown. For example, if I hover over the status bar:

Window
  WinStatusBar

If I click on the status bar:

Window: Windows Internet Explorer
  WinStatusBar:msctls_statusbar32

I would be grateful for any advice.

Was it helpful?

Solution

Here is a short checklist

  • Select the Web Addin when launching QTP
  • Make sure the browser is open after QTP
  • Make sure that QTP's extension (BHOManager) is enabled in IE (Tools -> Manager add-ons)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top